Set Required Status
formInput.setRequired(value)
Sets the required status of a form input.
This method is applicable to the following form input types:
FormCheckboxInputFormFileUploadWrapperFormRadioInputFormSelectFormTextareaFormTextInput
Syntax
Parameters
value: Boolean - The required status of the form input.
Returns
Promise<null>
A Promise that resolves to null.