Disable all inputs with fieldset
To disable all inputs/inputs group inside form, you can use the Fieldset component.
If disabled prop is set, all inputs inside Fieldset are disabled. By default, Fieldset has border and padding styles.
If you want to use Fieldset only for disabled feature, set variant="unstyled":
Disable all inputs with enhanceGetInputProps
If you use use-form for
your form, you can disable all inputs with enhanceGetInputProps: