Disable all inputs with fieldset
To disable all inputs/input groups inside a form, you can use the Fieldset component.
If the 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 the 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: