From ca521a10181a7fef82f4c306768b57f10c71bf48 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Mon, 23 Dec 2024 12:11:23 +0700 Subject: [PATCH] fix: selected option not get selected --- src/components/shared/select/select.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/shared/select/select.ts b/src/components/shared/select/select.ts index 34bdbdea..08fd88b2 100644 --- a/src/components/shared/select/select.ts +++ b/src/components/shared/select/select.ts @@ -50,6 +50,7 @@ export const createSelect = >( selectOptions.value = JSON.parse(JSON.stringify(cache)); previousSearch = query || previousSearch; } + getSelectedOption(); } async function setFirstValue() {