mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #4431
This commit is contained in:
parent
97a294bfb5
commit
2341d1492b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue