Forms
Forms are used to collect data from the user. A number of different components can be used to build forms (see examples below). The <form>
element formally defines a form and attributes that determine the behavior of this form. Each time you want to create an HTML form, you must start it by using this element, putting all the contents inside. Many assistive technologies or browser plugins can discover <form>
elements and implement special hooks to make them easier to use.
NOTE: It’s strictly forbidden to nest a form inside another form. Nesting can cause forms to behave in an unpredictable manner based on the browser that is being used.
Examples
Form Components
Below are links to the individual components.
NOTE: Since the only change from v8 to v9 is the support for React 16, all individual component documentation for these versions shares the 8.x.x pages.
NUI Widgets 8.x.x or 9.x.x | NUI Widgets 10.x.x |
---|---|
ControlLabel | ControlLabel |
Dropdown | |
FormControl | FormControl |
Password | Password |
TextArea | TextArea |
Checkbox | Checkbox |
FormGroup | FormGroup |
Fieldset | Fieldset |
RadioGroup |