remove placeholder for phone component
This commit is contained in:
parent
18e5c32363
commit
168616b8c6
5 changed files with 3 additions and 9 deletions
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
en:
|
||||
placeholder: "0612345678"
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
fr:
|
||||
placeholder: "0612345678"
|
|
@ -1,4 +1,4 @@
|
|||
-# Allowed @formats:
|
||||
-# very light validation is made client-side
|
||||
-# stronger validation is made server-side
|
||||
= @form.phone_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, placeholder: t(".placeholder"), required: @champ.required?, pattern: "[^a-z^A-Z]+"))
|
||||
= @form.phone_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, required: @champ.required?, pattern: "[^a-z^A-Z]+"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue