@@ -100,7 +100,9 @@ examples:
100100 name : more-detail
101101 label :
102102 text : Can you provide more detail?
103+
103104 - name : with hint
105+ screenshot : true
104106 options :
105107 name : more-detail
106108 id : more-detail
@@ -146,39 +148,6 @@ examples:
146148 classes : govuk-label--l
147149 isPageHeading : true
148150
149- - name : with optional form-group classes
150- options :
151- id : textarea-with-page-heading
152- name : address
153- label :
154- text : Full address
155- formGroup :
156- classes : extra-class
157-
158- - name : with autocomplete attribute
159- options :
160- id : textarea-with-autocomplete-attribute
161- name : address
162- label :
163- text : Full address
164- autocomplete : street-address
165-
166- - name : with spellcheck enabled
167- options :
168- label :
169- text : Spellcheck is enabled
170- id : textarea-with-spellcheck-enabled
171- name : spellcheck
172- spellcheck : true
173-
174- - name : with spellcheck disabled
175- options :
176- label :
177- text : Spellcheck is disabled
178- id : textarea-with-spellcheck-disabled
179- name : spellcheck
180- spellcheck : false
181-
182151 # Hidden examples are not shown in the review app, but are used for tests and HTML fixtures
183152 - name : id
184153 hidden : true
@@ -255,3 +224,36 @@ examples:
255224 text : Error message
256225 hint :
257226 text : Hint
227+ - name : with optional form-group classes
228+ hidden : true
229+ options :
230+ id : textarea-with-page-heading
231+ name : address
232+ label :
233+ text : Full address
234+ formGroup :
235+ classes : extra-class
236+ - name : with autocomplete attribute
237+ hidden : true
238+ options :
239+ id : textarea-with-autocomplete-attribute
240+ name : address
241+ label :
242+ text : Full address
243+ autocomplete : street-address
244+ - name : with spellcheck enabled
245+ hidden : true
246+ options :
247+ label :
248+ text : Spellcheck is enabled
249+ id : textarea-with-spellcheck-enabled
250+ name : spellcheck
251+ spellcheck : true
252+ - name : with spellcheck disabled
253+ hidden : true
254+ options :
255+ label :
256+ text : Spellcheck is disabled
257+ id : textarea-with-spellcheck-disabled
258+ name : spellcheck
259+ spellcheck : false
0 commit comments