Range input doesn't work correctly with props value
In range input, I set step={props.step}. but doesn't work correctly. When i try by declaring variable inside this file and use it, it works.
I want to pass step from parent component as props.
Thanks for any suggestions.
2 Replies
Probably something incorrectly passed from parent component, here's working example, share yours with parent component if it still doesn't work.
https://playground.solidjs.com/anonymous/e4d57fee-ae74-4194-96c2-ee8c23f58df3
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Thanks for your help! Now I am okay with it. I mess with other stuffs so that error happens.