Skip to content

Commit

Permalink
Don't allow empty selection on required select field
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 6, 2023
1 parent 50fe6a9 commit d7f0f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ onMounted(() => {
v-if="hasOptions"
:id="id"
v-model="currentValue"
:allow-empty="multiple && optional"
:allow-empty="optional"
:aria-expanded="ariaExpanded"
:close-on-select="!multiple"
:disabled="disabled"
Expand Down

0 comments on commit d7f0f15

Please sign in to comment.