-
Is it possible to pre-scroll the list when the initial value is set? For example, if I have option1 to option1000 and I set the selected value to option500, it would be nice to see option500 when the user click on the select input. Like this, const options = [1, 2, ..., 1000].map((value) => {
return {label: `option${value}`, value}
})
VirtualSelect.init({
ele: element,
selectedValue: 500,
options
}); |
Beta Was this translation helpful? Give feedback.
Answered by
sa-si-dev
Apr 24, 2022
Replies: 2 comments 3 replies
-
As of now, it is not possible. I will implement it in the future release. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@pi-chan This feature has been implemented in the release v1.0.29. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
sa-si-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@pi-chan This feature has been implemented in the release v1.0.29.