Skip to content

Commit

Permalink
Merge pull request #1587 from bartbutenaers/ui-dropdown-select-falsy-…
Browse files Browse the repository at this point in the history
…value

UI dropdown: select falsy value
  • Loading branch information
joepavitt authored Feb 7, 2025
2 parents 3099314 + 9d6b211 commit be2b93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/widgets/ui-dropdown/UIDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default {
}
return option.value
})
} else if (this.value) {
} else if (typeof this.value !== 'undefined') {
// return a single value
if (this.props.typeIsComboBox === false) {
msg.payload = this.value
Expand Down

0 comments on commit be2b93f

Please sign in to comment.