Open mturley opened 2 years ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mturley
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Edit: actually, realizing the other change in this upgrade was a bump in the PatternFly versions used as peer dependencies in lib-ui. Marking this as a draft, may not return to it considering the status of mig-ui.
The
@konveyor/lib-ui
package has been migrated from thekonveyor
org to themigtools
org as part of Konveyor being donated to the CNCF Sandbox. The npm package has been renamed to@migtools/lib-ui
starting with the8.4.1
release (see https://github.com/migtools/lib-ui/pull/111).Upgrading lib-ui from 5.1.2 -> 8.4.1 involves the following breaking changes:
!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
.None of these changes affect this repo because it is not using
useFormState
orValidatedTextInput
, so renaming imports is the only source change necessary here.See also: