You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using @rjsf vai backstage which means I do not have access to props like transformErrors and there is a noticeable deterioration of the quality of validation messages between version 3.2.1 and 5.0.0-beta.14.
Here is a codesandbox of version 3.2.1 and a screen shot:
This is great, and I do not have to do anything, and the validation works by default very nicely. This is totally great :)
The default error messages are unusable, they point to the field name and the input is not highlighted. The error messages are not inline, even with showErrorList: false
I would have to (if backstage even exposed it) use transformErrors in every single form which is a waste.
I think this is a great project but is there anything we can do to have the old validation in the new world.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using
@rjsf
vai backstage which means I do not have access to props liketransformErrors
and there is a noticeable deterioration of the quality of validation messages between version3.2.1
and5.0.0-beta.14
.Here is a codesandbox of version 3.2.1 and a screen shot:
This is great, and I do not have to do anything, and the validation works by default very nicely. This is totally great :)
And here is a codesandbox of v5 and a screenshot:
The default error messages are unusable, they point to the field name and the input is not highlighted. The error messages are not inline, even with showErrorList: false
I would have to (if backstage even exposed it) use transformErrors in every single form which is a waste.
I think this is a great project but is there anything we can do to have the old validation in the new world.
Beta Was this translation helpful? Give feedback.
All reactions