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

Within AEMaaCS, the required validation mechanics break #43

Closed
MichaelHeil opened this issue Feb 8, 2024 · 0 comments · Fixed by #52
Closed

Within AEMaaCS, the required validation mechanics break #43

MichaelHeil opened this issue Feb 8, 2024 · 0 comments · Fixed by #52
Labels

Comments

@MichaelHeil
Copy link
Collaborator

MichaelHeil commented Feb 8, 2024

1.The required validation forces multiple error lines. The error of the dialog is being manipulated to many times. Also, the validation seems to be triggered before the item dialog is "opened". Not when the item dialog is being "saved/confirmed". Example given:

  • min elements of 2 being set for generic multifield
  • adding 1 item
  • adding a second item -> cancel the dialog of creating the second item
  • error state is set
  • cancel the component dialog
  • additional error state is set
  • any other required field fast it's error message set multiple times.
error_validation_example_REC.mp4
  1. In addition, when the required state is fulfilled, the error state is not being removed again, as the "update" manipulation does not seem to work anymore.
error_validation_not_removed_example_REC.mp4
@MichaelHeil MichaelHeil changed the title Validation - Within AEMaaCS, the validation mechanics break Within AEMaaCS, the required validation mechanics break Feb 12, 2024
MichaelHeil pushed a commit that referenced this issue Mar 7, 2024
MichaelHeil pushed a commit that referenced this issue Mar 7, 2024
- fixed update view with new spectrum selectors
- workaround for update ui race condition with 0.2 sec delay due to false handling for error message update by OOTB validation handler
darkoBill added a commit that referenced this issue Mar 7, 2024
…d-validation-mechanics-break

#43 adopted user interaction logic and controlling error flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants