Skip to content

Commit

Permalink
Fix: Support non-empty values
Browse files Browse the repository at this point in the history
Dropdown does not show correct styling if using a falsey value such as `false` or `0`.
  • Loading branch information
sean-dickinson committed Apr 24, 2023
1 parent f76131a commit 3cad13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/dropdown/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ export default {
'p-disabled': this.disabled,
'p-dropdown-clearable': this.showClear && !this.disabled,
'p-focus': this.focused,
'p-inputwrapper-filled': this.modelValue,
'p-inputwrapper-filled': this.hasSelectedOption,
'p-inputwrapper-focus': this.focused || this.overlayVisible,
'p-overlay-open': this.overlayVisible
}
Expand Down

0 comments on commit 3cad13e

Please sign in to comment.