remove placeholder for decimal number component

This commit is contained in:
Christophe Robillard 2023-09-25 17:05:04 +02:00
parent 168616b8c6
commit abad463bb1
3 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
= @form.number_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, step: :any, placeholder: "3.14", required: @champ.required?))
= @form.number_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, step: :any, required: @champ.required?))

View file

@ -3,4 +3,4 @@ en:
attributes:
champs/decimal_number_champ:
hints:
value: "You can enter up to 3 decimal places after the decimal point"
value: "You can enter up to 3 decimal places after the decimal point. Exemple: 3.14"

View file

@ -3,4 +3,4 @@ fr:
attributes:
champs/decimal_number_champ:
hints:
value: "Vous pouvez saisir jusquà 3 décimales après la virgule"
value: "Vous pouvez saisir jusquà 3 décimales après la virgule. Exemple: 3,14"