v6.0.0
konveyor-release-bot
released this
25 Jan 18:11
·
48 commits
to main
since this release
6.0.0 (2022-01-25)
Features
- useformstate: change field.isValid to ignore isTouched, add shouldShowError + greenWhenValid (#83) (008bfa0), closes #82
BREAKING CHANGES
- useformstate: Forms that rely on
!field.isValid
to show errors will now show validation
errors on all required fields as soon as the form first renders. Consumers should replace the
!field.isValid
condition withfield.shouldShowError
or!field.isValid && field.isTouched
.