Slider Bind Value #1560
Answered
by
huntabyte
sutaungmai
asked this question in
Help
Slider Bind Value
#1560
-
Here is my current working input tag looks like: |
Beta Was this translation helpful? Give feedback.
Answered by
huntabyte
Dec 19, 2024
Replies: 1 comment 5 replies
-
You can only bind to an identifier or member expression |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, I see what you're trying to do now. Perhaps I will introduce the ability to have a single value for the slider rather than an array if it is a single-value slider.
In the meantime, until I make that update, you should be able to accomplish it like this. You will need to
bind:options
in the parent component that is providing theoptions
and make theoptions
prop$bindable
in this component.Something like this: