remove placehoder for rna component
This commit is contained in:
parent
8bacb30e36
commit
18e5c32363
3 changed files with 1 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
en:
|
en:
|
||||||
placeholder: "W503726238"
|
|
||||||
title: "The RNA number must begin with a capital W followed by 9 digits"
|
title: "The RNA number must begin with a capital W followed by 9 digits"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
fr:
|
fr:
|
||||||
placeholder: "W503726238"
|
|
||||||
title: "Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres"
|
title: "Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
= @form.text_field(:value, input_opts( id: @champ.input_id, aria: { describedby: @champ.describedby_id }, placeholder: t(".placeholder"), data: { controller: 'turbo-input', turbo_input_load_on_connect_value: @champ.prefilled? && @champ.value.present? && @champ.data.blank?, turbo_input_url_value: champs_rna_path(@champ.id) }, required: @champ.required?, pattern: "W[0-9]{9}", title: t(".title"), class: "width-33-desktop", maxlength: 10))
|
= @form.text_field(:value, input_opts( id: @champ.input_id, aria: { describedby: @champ.describedby_id }, data: { controller: 'turbo-input', turbo_input_load_on_connect_value: @champ.prefilled? && @champ.value.present? && @champ.data.blank?, turbo_input_url_value: champs_rna_path(@champ.id) }, required: @champ.required?, pattern: "W[0-9]{9}", title: t(".title"), class: "width-33-desktop", maxlength: 10))
|
||||||
|
|
||||||
.rna-info{ id: dom_id(@champ, :rna_info) }
|
.rna-info{ id: dom_id(@champ, :rna_info) }
|
||||||
= render 'shared/champs/rna/association', champ: @champ, error: nil
|
= render 'shared/champs/rna/association', champ: @champ, error: nil
|
||||||
|
|
Loading…
Reference in a new issue