fix: selected option not get selected

This commit is contained in:
Methapon2001 2024-12-23 12:11:23 +07:00
parent 40d0f4f2dc
commit ca521a1018

View file

@ -50,6 +50,7 @@ export const createSelect = <T extends Record<string, any>>(
selectOptions.value = JSON.parse(JSON.stringify(cache));
previousSearch = query || previousSearch;
}
getSelectedOption();
}
async function setFirstValue() {