Skip to content

fix: show validation error for QuestionShort in NcNoteCard #3413

Merged
Chartman123 merged 1 commit into
mainfrom
fix/validation-error
Jun 16, 2026
Merged

fix: show validation error for QuestionShort in NcNoteCard #3413
Chartman123 merged 1 commit into
mainfrom
fix/validation-error

Conversation

@Chartman123

Copy link
Copy Markdown
Collaborator

After adding custom validation with @invalid.prevent="validate" in #3382 the validation in QuestionShort didn't work as expected anymore.

The validation was refactored to also make use of the NcNoteCard to fix the issue.

While fixing this I realized that the aria-messages about errors were also missing in the above mentioned PR and so I added them here as well.

@Chartman123 Chartman123 self-assigned this Jun 12, 2026
@Chartman123 Chartman123 added javascript Javascript related ticket 3. to review Waiting for reviews regression Regression of a previous working feature feature: 📝 submitting responses labels Jun 12, 2026
@Chartman123 Chartman123 force-pushed the fix/validation-error branch 2 times, most recently from 76d00e8 to 485d85e Compare June 12, 2026 13:54
@Chartman123 Chartman123 marked this pull request as ready for review June 12, 2026 14:09
@Chartman123 Chartman123 force-pushed the fix/validation-error branch 2 times, most recently from efcb987 to e8f76ff Compare June 15, 2026 21:39
Comment thread src/components/Questions/QuestionShort.vue Outdated
Comment thread playwright/support/sections/SubmitSection.ts Outdated
@Chartman123 Chartman123 force-pushed the fix/validation-error branch 2 times, most recently from b8902c0 to 8ed33d0 Compare June 16, 2026 16:58
also add missing aria error handling

Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
@Chartman123 Chartman123 force-pushed the fix/validation-error branch from 8ed33d0 to c0baba5 Compare June 16, 2026 17:05
@Chartman123 Chartman123 enabled auto-merge June 16, 2026 17:18
@Chartman123

Copy link
Copy Markdown
Collaborator Author

/backport to stable5.3

@backportbot backportbot Bot added the backport-request Pending backport by the backport-bot label Jun 16, 2026
@Chartman123 Chartman123 merged commit 60a3be0 into main Jun 16, 2026
43 checks passed
@Chartman123 Chartman123 deleted the fix/validation-error branch June 16, 2026 18:33
@backportbot backportbot Bot removed the backport-request Pending backport by the backport-bot label Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews feature: 📝 submitting responses javascript Javascript related ticket regression Regression of a previous working feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants