You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ _Example checkbox field_
203
203
##### default (string, optional)
204
204
>The default can be set to the `value` of one of the `options`.
205
205
206
-
##### options (array)
206
+
##### options (array, required)
207
207
>`options` is an array of options for the radio form field to display. Each option should be an object with a `name`(string) and `value`(string or number).
208
208
209
209
_Example radio field_
@@ -234,10 +234,10 @@ _Example radio field_
234
234
#### Select form field
235
235
>The select field allows selection via dropdown using the select element.
236
236
237
-
##### default (number)
237
+
##### default (number, optional)
238
238
>The default can be set to the index of one of the `options`.
239
239
240
-
##### options (array)
240
+
##### options (array, required)
241
241
>`options` is an array of options for the select form field to display. Each option should be an object with a `name`(string). You may optionally add a `group` to some or all of your options.
242
242
243
243
_Example select field_
@@ -322,6 +322,7 @@ _Example number field_
322
322
---
323
323
#### Password form field
324
324
>The password field allows password input, it uses an input with `type='password'`.
325
+
##### default (string, optional)
325
326
326
327
_Example password field_
327
328
```json
@@ -334,10 +335,33 @@ _Example password field_
334
335
335
336
---
336
337
#### Hidden form field
338
+
>The hidden field allows hidden input, it uses an input with `type='hidden'`.
339
+
340
+
##### default (number or string, required)
341
+
342
+
_Example password field_
343
+
```json
344
+
{
345
+
"key": "hiddenCode",
346
+
"type": "hidden",
347
+
"default": "hidden_code"
348
+
}
349
+
```
337
350
338
351
---
339
352
#### Email form field
353
+
>The email field allows email input, it uses an input with `type='email'`. Browsers will provide basic email address validation by default.
0 commit comments