Optionalargs: { [key: string]: any }Unique name of the form field (often referred to as fully qualified name). This name is used to link form field value to a FormFields.FormField.
OptionaloptionRadio buttons and checkboxes can have multiple widgets with the same form value associated, but can be
selected independently. optionIndexes contains the value indexes that should be actually set.
If set, the value field doesn't get used, and the widget found at the corresponding indexes in the form field's
annotationIds property are checked.
If set on fields other than radio buttons or checkboxes, setting the form value will fail.
The value of the form field.
StaticdefaultReturns a new instance of this Record type with all values set to their default values.
Returns a new instance of this Record type with the value for the specific key set to its default value.
Returns the value associated with the provided key, which may be the default value defined when creating the Record factory function.
If the requested key is not defined by this Record type, then notSetValue will be returned if provided. Note that this scenario would produce an error when using Flow or TypeScript.
OptionalnotSetValue: anyDeeply converts this Record to equivalent native JavaScript Object.
Note: This method may not be overridden. Objects with custom serialization to plain JS may override toJSON() instead.
Shallowly converts this Record to equivalent native JavaScript Object.
Shallowly converts this Record to equivalent JavaScript Object.
Record representing a form field value.
To retrieve a list of all form field values, use Instance#getFormFieldValues.
Please see our forms guide article to learn more about forms and for examples on how to set form field values.
Example
Setting a form field value.
See