You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at this documentation, we can see that we need to add transient: false whenever we want to consume a value.
By default, if you create an input with an onChange callback, the transient value is set to true, meaning that you are not subscribed to the input value and cannot consume it.
If you add transient: false the example works without a problem:
Hello!
I'm experiencing an issue with a dropdown control when I try to add a callback to it:
The callback is called at the correct time, but the value is not usable.
typescript compilation fails with the following error:
leva: 0.9.35
tsc: 5.4.5
By the way, thanks for the lib! It's really pretty and helpful.
The text was updated successfully, but these errors were encountered: