From f429bc04f92a32d5ac5c89072bbaabda402de743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Sun, 19 Mar 2023 23:41:07 +0300 Subject: [PATCH] isSelected method updated --- components/dropdown/Dropdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dropdown/Dropdown.vue b/components/dropdown/Dropdown.vue index bf84bbf90..512493d41 100755 --- a/components/dropdown/Dropdown.vue +++ b/components/dropdown/Dropdown.vue @@ -809,7 +809,7 @@ export default { return this.isValidOption(option) && this.isSelected(option); }, isSelected(option) { - return ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.equalityKey); + return this.isValidOption(option) && ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.equalityKey); }, findFirstOptionIndex() { return this.visibleOptions.findIndex((option) => this.isValidOption(option));