autoSelectFirstOption doesn't do anything #308
Unanswered
DonatoDeluxe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i've an asp.net 7.0 MVC project where i create a select as following:
<select id="slct-employeeIDs" name="EmployeeIDs" asp-items="ViewBag.EmployeeListData" required></select>
then later i initialize VirtualSelect like this:
but it does still select the first option on every page reload.
i also tried to use
selectedValue: "@ViewBag.EmployeeIDs".split(',')
but again without any success...i'm using version Virtual Select v1.0.41
thank you for your help in advance.
Beta Was this translation helpful? Give feedback.
All reactions