Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In wizard display mode, validation errors are displayed differently on "Next" or "Previous" between pages. #5563

Open
pboucher1960 opened this issue Apr 11, 2024 · 1 comment

Comments

@pboucher1960
Copy link

Describe the bug
When rendering a wizard form with components that have some validations (ex: required), moving from one page to the next or moving from one page to the previous won't show the validation error messages with the same layout.

Version/Branch
4.17.0-rc.2

To Reproduce
Steps to reproduce the behavior

  1. Create a form in wizard mode.
  2. In the first page, add a component and set it as required.
  3. Add a second page.
  4. In the second page, add a component and set it as required.
  5. In the rendered form, select the first page.
  6. Click on the "Next" button without entering any value in the required component.
  7. See the way the error is displayed.
  8. Select the second page.
  9. Click on the "Previous" button without entering any value in the required component.
  10. See the way the error is displayed, which is different from step 7.

Expected behavior
Error messages should always be displayed the same way, leaving a page or entering a page.

Screenshots
See the following sandbox: 6617ebea28302f197dd16829 for a sample with two pages and numeric required components.

@olgabann
Copy link

@pboucher1960 Thank you for reporting this issue. I can reproduce it and have logged a ticket for the backlog. We are always willing to review any contributions to resolve this issue from the open-source community.

For internal reference: FIO-8261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants