fix(editable_champ): can enter negative number
This commit is contained in:
parent
e17d694b30
commit
c53b0a1c9e
1 changed files with 1 additions and 1 deletions
|
@ -1 +1 @@
|
|||
= @form.text_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, placeholder: @champ.libelle, required: @champ.required?, pattern: "[0-9]*", inputmode: :decimal))
|
||||
= @form.text_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, placeholder: @champ.libelle, required: @champ.required?, pattern: "-?[0-9]*", inputmode: :decimal))
|
||||
|
|
Loading…
Reference in a new issue