Commit Graph

6 Commits

Author SHA1 Message Date
Jairo Llopis
ffda6da374 [FIX] web_widget_numeric_step: disable buttons on readonly fields
Before this patch, if a field was readonly, the user could still use the +/- buttons to alter its value. Not good!

@moduon MT-4396
2023-12-12 11:05:06 +00:00
Jairo Llopis
d914b4eadc [IMP] web_widget_numeric_step: display always on mobile
Mobile screens benefit most from this module's enhanced usability.

However, since the events used for displaying/hiding the +/- buttons depend on mouse, at the end you'll never see these buttons on mobile screens.

Thus, here's a new approach: smaller screens *always* display the buttons.

Besides, inputmode is now decimal, just like upstream float fields.

@moduon MT-4396
2023-12-12 11:00:18 +00:00
dsolanki
2b72477e08 [MIG] web_widget_numeric_step: Migration to 16.0 2023-03-21 11:12:55 +05:30
Carlos Roca
973fd6dde2 [IMP] web_widget_numeric_step: black, isort, prettier 2023-03-16 18:06:35 +05:30
Alexandre Díaz
def062a759 [IMP] web_widget_numeric_step: Better CSS and supports mobile layouts 2023-03-16 18:06:35 +05:30
Quentin Dupont
a5ca0070df [ADD] Widget Numeric step 2023-03-16 18:06:35 +05:30