[ComboBox][TagInput] onChange callback on state value changes
Closed this issue · 0 comments
damian-rodriguez-sociomantic commented
Current
our attachEvents
functionality is adding a standard onChange event handler to the <label>
which is the parent of the <input>
in these cases ( ComboBox, TagInput ) based on the onChange
prop.
Problem
input
also has default onChange
Event Attribute, so every time that this one fires, the onChange
event handler on the label
( parent element ) is also firing
Wanted
stop the propagation of the onChange
Event attribute to the onChange
event handler of the label.