-
Notifications
You must be signed in to change notification settings - Fork 32
Validation trigger for single row #594
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far! 🎉
f483522
to
0ca9d5e
Compare
0ca9d5e
to
6229a7c
Compare
47523a9
to
285d33e
Compare
a410502
to
37c7ca2
Compare
37c7ca2
to
0dc5a05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean!! 👏
# Conflicts: # src/altinn-app-frontend/src/features/form/containers/GroupContainer.tsx # src/altinn-app-frontend/src/utils/validation/validation.ts
Seems like there is some flakyness in the cypress tests now - unsure if that was my fault (with all the nullable checks) or something that happened with these changes. Would you mind running the cypress tests repeatedly (those that are failing) and figure out the root cause, @bjosttveit? |
Looks like it broke somehow, at least the test works! Will look into it |
src/altinn-app-frontend/src/features/form/layout/update/updateFormLayoutSagas.ts
Outdated
Show resolved
Hide resolved
SonarCloud Quality Gate failed. |
Testet litt og det ser ut som det funker fint, eneste er at man er tvunget til å fylle ut før man får lukket raden, mulig det er helt ok, får se når flere får testet dette. |
Description
Added a new trigger,
validateRow
, that only triggers validation for the current row when clicking save and close, as opposed to validating all of the elements in the repeating group.Related Issue(s)
Verification
Documentation