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
Documentation states that Switch can be used with onchange property. However, currently there are two issues regarding it:
The property does not exist in the elements types.
Adding the property causes a slew of the following warnings:
The function instead of running returns the same warning whenever the switch state changes. on:change does not throw a type error, but does not do anything, not even the aforementioned warning
Expected Behavior
onchange working.
Steps To Reproduce
Copy paste what the documentation says in the Lightswitch example.
Current Behavior
Documentation states that Switch can be used with
onchange
property. However, currently there are two issues regarding it:The function instead of running returns the same warning whenever the switch state changes.
on:change
does not throw a type error, but does not do anything, not even the aforementioned warningExpected Behavior
onchange
working.Steps To Reproduce
Copy paste what the documentation says in the Lightswitch example.
Link to Reproduction / Stackblitz
https://github.com/MrVauxs/skeletonrepro
More Information
The text was updated successfully, but these errors were encountered: