The CheckBoxField requires a checked prop instead of a value prop. See ICheckBoxField.
The PasswordField
works the same as the EmailField
& TextInputField
's.
The RadioGroup
component takes a single props of name
, which
must be a unique to a form. See RadioField.
A component to render a select field element.
The TextAreaField takes in an extra prop of row which is a number & declares the number of rows displayed by the textarea element. The TextAreaField accepts all the IField props.
Generated using TypeDoc
The SubmitButton only requires a text string as children props (see below example). The SubmitButton will be disabled until all form fields are validated.
ISubmitButtonProps
import {SubmitButton} from "react-base-forms"; <SubmitButton>Submit</SubmitButton>