@@ -143,16 +143,6 @@ examples:
143143 label :
144144 text : Can you provide more detail?
145145
146- - name : with custom textarea description
147- description : with textarea description translated into Welsh.
148- options :
149- name : custom-textarea-description
150- id : custom-textarea-description
151- maxlength : 10
152- label :
153- text : Can you provide more detail?
154- textareaDescriptionText : Gallwch ddefnyddio hyd at %{count} nod
155-
156146 - name : with hint
157147 options :
158148 name : with-hint
@@ -164,16 +154,6 @@ examples:
164154 text : Don't include personal or financial information, eg your
165155 National Insurance number or credit card details.
166156
167- - name : with error
168- options :
169- name : with-error
170- id : with-error
171- maxlength : 10
172- label :
173- text : Can you provide more detail?
174- errorMessage :
175- text : Please provide more detail
176-
177157 - name : with hint and error
178158 options :
179159 name : with-error
@@ -249,29 +229,17 @@ examples:
249229 label :
250230 text : Full address
251231
252- - name : with translations
232+ # Hidden examples are not shown in the review app, but are used for tests and HTML fixtures
233+ - name : with custom textarea description
234+ hidden : true
235+ description : with textarea description translated into Welsh.
253236 options :
254- id : with-translations
255- name : with-translations
237+ name : custom-textarea-description
238+ id : custom-textarea-description
256239 maxlength : 10
257240 label :
258- text : Full address
259- charactersUnderLimitText :
260- other : ' %{count} characters to go'
261- one : ' One character to go'
262- charactersAtLimitText : ' Zero characters left'
263- charactersOverLimitText :
264- other : ' %{count} characters too many'
265- one : ' One character too many'
266- wordsUnderLimitText :
267- other : ' %{count} words to go'
268- one : ' One word to go'
269- wordsAtLimitText : ' Zero words left'
270- wordsOverLimitText :
271- other : ' %{count} words too many'
272- one : ' One word too many'
273-
274- # Hidden examples are not shown in the review app, but are used for tests and HTML fixtures
241+ text : Can you provide more detail?
242+ textareaDescriptionText : Gallwch ddefnyddio hyd at %{count} nod
275243 - name : classes
276244 hidden : true
277245 options :
@@ -396,3 +364,25 @@ examples:
396364 name : no-maximum
397365 label :
398366 text : Full address
367+ - name : with translations
368+ hidden : true
369+ options :
370+ id : with-translations
371+ name : with-translations
372+ maxlength : 10
373+ label :
374+ text : Full address
375+ charactersUnderLimitText :
376+ other : ' %{count} characters to go'
377+ one : ' One character to go'
378+ charactersAtLimitText : ' Zero characters left'
379+ charactersOverLimitText :
380+ other : ' %{count} characters too many'
381+ one : ' One character too many'
382+ wordsUnderLimitText :
383+ other : ' %{count} words to go'
384+ one : ' One word to go'
385+ wordsAtLimitText : ' Zero words left'
386+ wordsOverLimitText :
387+ other : ' %{count} words too many'
388+ one : ' One word too many'
0 commit comments