jquery-steps icon indicating copy to clipboard operation
jquery-steps copied to clipboard

Unable to pass onChange as a property

Open theivanfranco opened this issue 6 years ago • 1 comments

Hello. I am working with this library within React and I am unable to pass onChange to the input tags (will not fire, and does not render on the DOM). Does this library strip off all dynamic functions and re-render the HTML afterwards? Is there any way for me to pass an onChange function to the input tag?

Many thanks!

theivanfranco avatar Nov 21 '18 00:11 theivanfranco

I believe the library restructures the element you initialize it on, causing previous references to any child elements to be lost. I've been able to work around this issue by setting all my event handlers after the library has initialized.

lageorgem avatar Aug 30 '19 16:08 lageorgem