Skip to content

Commit

Permalink
Fixed #4431
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Sep 24, 2024
1 parent 97a294b commit 2341d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/select/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ export default {
return this.isValidOption(option) && this.isSelected(option);
},
isSelected(option) {
return this.isValidOption(option) && equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
return equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
},
findFirstOptionIndex() {
return this.visibleOptions.findIndex((option) => this.isValidOption(option));
Expand Down

0 comments on commit 2341d14

Please sign in to comment.