Skip to content

Commit

Permalink
fix(maz-ui): MazSelect - can select an option with false value
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisMazel committed Mar 14, 2024
1 parent 625401b commit 0e5b0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/components/MazSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
@binding {String} label - the label of the optgroup
-->
<slot
v-if="option.label && !option[optionValueKey]"
v-if="option.label && isNullOrUndefined(option[optionValueKey])"
name="optgroup"
:label="option.label"
>
Expand Down

0 comments on commit 0e5b0e9

Please sign in to comment.