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
Let's make use of $$restProps to allow for required and any other arbitrary input attributes. The Slide Toggle provides a good reference for how to set this up. Note how we prune $$restProps.class to ensure arbitrary classes are still handled on the parent. We don't want those getting copied to the hidden input as well.
Steps To Reproduce
n/a
Anything else?
Reported by user fnf on Discord in the support channel.
The text was updated successfully, but these errors were encountered:
@leranjun I've managed to update this and the File Button components to use $$restProps which means they will pass any valid input attribute directly to the hidden input embedded within the component. I've also update the documentation for both these, the range slider, and slide toggle to indicate the use of $restProps as well.
Thanks for the heads up on this! Expect this update to roll out with the new release coming tomorrow!
Current Behavior
Let's make use of
$$restProps
to allow forrequired
and any other arbitrary input attributes. The Slide Toggle provides a good reference for how to set this up. Note how we prune$$restProps.class
to ensure arbitrary classes are still handled on the parent. We don't want those getting copied to the hidden input as well.Steps To Reproduce
n/a
Anything else?
Reported by user
fnf
on Discord in the support channel.The text was updated successfully, but these errors were encountered: