Skip to content

Commit

Permalink
Fix: Correct validationTypeMenuId to use local index instead of $attrs
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
  • Loading branch information
Chartman123 committed Feb 10, 2025
1 parent baed591 commit 4310a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Questions/QuestionShort.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {
* Id of the validation type menu
*/
validationTypeMenuId() {
return 'q' + this.$attrs.index + '__validation_menu'
return 'q' + this.index + '__validation_menu'
},
/**
* The regular expression
Expand Down

0 comments on commit 4310a52

Please sign in to comment.