Releases: cdeutsch/classy-forms
Releases · cdeutsch/classy-forms
Add onIsDirtyChange prop
Add missing `children` prop to `FormsProviderProps` for React v18.
v3.1.0 chore(release): 3.1.0
Add `isInitError`
Add isInitError
which will maintain initHasError
during the constructor.
Otherwise if you set initHasError
based on a server condition that isn't checked inside isValid
, the error state will immediately be lost.
This could be considered a breaking change since initHasError
will behave different, but it's also a bug fix.
Fix bug with iterating over `FormData` keys
v2.1.6 chore(release): 2.1.6
Validate FormData
Add validateFormData
helper to aid in validating submitted FormData.
FormData Support
Add initializeFromFormData
function to set the initValue
of FormFieldConfigs using the FormData
specified.
Add React 17 and 18 as peer dependency options
v2.1.3 chore(release): 2.1.3
Return validation results from `forceValidate`.
Merge pull request #63 from cdeutsch/return-validation-results Return validation results
Add ability to force validate a field.
Merge pull request #62 from cdeutsch/force-validate Force validate
Upgrade NPM dependencies
Upgrade NPM dependencies to deal with security warnings. No functionality changes.