Open terencenjr opened 7 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@benjdlambert maybe we can make it configurable?
@acierto do you wanna raise a PR making this configurable on the Stepper
component? Not sure we want to add these props to the router yet.
I'm also interested in this being configurable. In my case, I actually only want the stepper error to appear and not the error below the component. This is because I'm doing my own validation in my custom field extension. I only need validation to prevent user from moving onto next step. Also, on this topic the ".propertyName
@benjdlambert @acierto I can also try to help on a PR for this
@stephenglass That would be nice! β€οΈ
@stephenglass have you had a chance to work on this? I would like to confirm if we could assign the issue to you π
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
π Description
Hi,
I am writing a custom field extension with validation and I saw the errors displayed when validation fails. The errors are displayed once at the top and another time below the field. I am not sure if this is a bug or it is just a behavior by rsjf so pardon me if I have logged the issue under the wrong category.
π Expected behavior
I believe displaying errors once is sufficient. I do have a preference for it to be displayed under the TextField only.
π Actual Behavior with Screenshots
From the screenshot below, we can see that the errors are displayed below the steps' breadcrumb and below the TextField when validation failed.
π Reproduction steps
π Provide the context for the Bug.
No response
π₯οΈ Your Environment
I'm using Backstage version 1.21.0.
π Have you spent some time to check if this bug has been raised before?
π’ Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!