Skip to content

fix: add validation method and error message#3382

Merged
Chartman123 merged 1 commit into
mainfrom
fix/1586-validate-dropdown
Jun 8, 2026
Merged

fix: add validation method and error message#3382
Chartman123 merged 1 commit into
mainfrom
fix/1586-validate-dropdown

Conversation

@Chartman123

@Chartman123 Chartman123 commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

This fixes #1586 and fixes #1255 by adding a validate() function to all question types.

This improves the error message handling for required questions that have not been answered.

Signed-off-by: Christian Hartmann chris-hartmann@gmx.de

@Chartman123 Chartman123 added bug Something isn't working 3. to review Waiting for reviews feature: 📝 submitting responses labels Jun 5, 2026
@Chartman123 Chartman123 added this to the 5.3 milestone Jun 5, 2026
@Chartman123 Chartman123 requested review from Koc and pringelmann June 5, 2026 12:01
@Chartman123 Chartman123 self-assigned this Jun 5, 2026
@Chartman123 Chartman123 added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jun 5, 2026
@Chartman123 Chartman123 marked this pull request as draft June 5, 2026 12:03
@Chartman123 Chartman123 force-pushed the fix/1586-validate-dropdown branch from 5a9b9c2 to 3c8d2d0 Compare June 5, 2026 12:19
@Chartman123 Chartman123 linked an issue Jun 5, 2026 that may be closed by this pull request
@Chartman123 Chartman123 changed the title fix: add validation method and error message handling in QuestionDropdown fix: add validation method and error message Jun 5, 2026
@Chartman123 Chartman123 marked this pull request as ready for review June 5, 2026 12:23
@Chartman123 Chartman123 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jun 5, 2026
Comment thread src/components/Questions/QuestionMultiple.vue

@pringelmann pringelmann left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Would be nice to have an E2E test to cover this new behavior, but its not a blocker. (maybe ask Copilot to do it)

@Chartman123 Chartman123 marked this pull request as draft June 8, 2026 09:25
@Chartman123 Chartman123 force-pushed the fix/1586-validate-dropdown branch 2 times, most recently from b4c38db to 0f125fa Compare June 8, 2026 12:15
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
@Chartman123 Chartman123 force-pushed the fix/1586-validate-dropdown branch from 0f125fa to 7e9b52d Compare June 8, 2026 14:10
@Chartman123 Chartman123 marked this pull request as ready for review June 8, 2026 14:11
@Chartman123 Chartman123 merged commit 4913926 into main Jun 8, 2026
51 of 53 checks passed
@Chartman123 Chartman123 deleted the fix/1586-validate-dropdown branch June 8, 2026 14:44
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 bug Something isn't working feature: 📝 submitting responses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No entry in mandatory field => browser error message Improve error message for required fields

3 participants