From 2341d1492b3309e3775a7d07794cc2d2765cf1fb Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 24 Sep 2024 10:28:44 +0300 Subject: [PATCH] Fixed #4431 --- packages/primevue/src/select/Select.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/select/Select.vue b/packages/primevue/src/select/Select.vue index e44c7f348..beb309cbd 100755 --- a/packages/primevue/src/select/Select.vue +++ b/packages/primevue/src/select/Select.vue @@ -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));