Form base
By default Form
will calculate default value for provided schema
and current value
on each schema
change.
While this behavior is convenient it has some drawbacks:
- Empty form on initial render when
value
isundefined
- Additional render after defaults calculation
- This behavior may not be desirable in some cases
To prevent this behavior, you can use FormBase
component,
which provides the same interface as Form
.