Skip to content

Releases: cdeutsch/classy-forms

Add onIsDirtyChange prop

22 Feb 22:39
Compare
Choose a tag to compare

Add onIsDirtyChange prop to FormsProvider props to make it easier to react to dirty state changes.

Add missing `children` prop to `FormsProviderProps` for React v18.

26 Jul 15:44
Compare
Choose a tag to compare

Add `isInitError`

15 Apr 15:02
Compare
Choose a tag to compare

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

14 Apr 23:14
Compare
Choose a tag to compare
v2.1.6

chore(release): 2.1.6

Validate FormData

14 Apr 22:06
Compare
Choose a tag to compare

Add validateFormData helper to aid in validating submitted FormData.

FormData Support

14 Apr 21:29
Compare
Choose a tag to compare

Add initializeFromFormData function to set the initValue of FormFieldConfigs using the FormData specified.

Add React 17 and 18 as peer dependency options

14 Apr 20:28
Compare
Choose a tag to compare
v2.1.3

chore(release): 2.1.3

Return validation results from `forceValidate`.

15 Mar 20:59
0649484
Compare
Choose a tag to compare
Merge pull request #63 from cdeutsch/return-validation-results

Return validation results

Add ability to force validate a field.

15 Mar 20:42
f9f09c9
Compare
Choose a tag to compare
Merge pull request #62 from cdeutsch/force-validate

Force validate

Upgrade NPM dependencies

18 Jan 18:17
Compare
Choose a tag to compare

Upgrade NPM dependencies to deal with security warnings. No functionality changes.