[IMP] web_widget_numeric_step: option to add classes

New option so we can add new classes to the input or remove existing
ones so we can style the input at our will.

TT49390
This commit is contained in:
David
2024-07-12 13:22:29 +02:00
parent 1cfc596853
commit 160a39c409
4 changed files with 16 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ Web Widget Numeric Step
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a2b6cac785e6c68124e9b96656216e49d609e2af60effef85a069ee295d3bc41
!! source digest: sha256:3f4e1a0c2c047ce2fc2dcc1f2b9bd928cf1c5c5a26f131d17b64d3f5b98459ad
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -65,6 +65,8 @@ Example for an 0.25 step, min to -1 and max to 10 :
- max > Max. value allowed (default: no limit)
- auto_select > Select the content when the element get focus (default: False)
- placeholder > Define the placeholder text (default: None)
- add_class > Define additional classes for the input (default: None)
- remove_class > Remove default classes from the input (default: None)
**Examples**