Form Select
Overview
When to use
The select element could be used if a single option of a data set should be selected and validated.
When to consider an alternative
If, there are more than 10 options, but the input doesn’t have to be validated, an open text form will often be simpler than a select field.
Component
Default
Disabled
Properties
FormSelect
Property | Type | Required | Default |
---|---|---|---|
name | String | true | - |
disabled | Bool | false | - |
onChange | Func | false | - |
required | Bool | false | - |
utilClassNames | String | false | - |
children | Node | false | - |
FormSelect.Option
Property | Type | Required | Default |
---|---|---|---|
value | String | true | - |
disabled | Bool | false | - |
children | Node | false | - |