Chips component onFocus
& onBlur
events do not pass arguments to callback function
#4436
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
The Chips component recently got
onBlur
&onFocus
events, which, according to the documentation, are both supposed to passoriginalEvent: Browser event
to the provided callback method.However, both the
onBlur
&onFocus
events in the Chips component pass nothing to the callback method, so its parameter values are undefined.Expected behavior
The
onFocus
andonBlur
events would pass the originalFocusEvent
to the provided callback method, per the documentation.Better yet, the
onFocus
&onBlur
events would pass any arbitrary arguments passed to the provided callback method.Minimal reproduction of the problem with instructions
http://plnkr.co/edit/Rnv7IKmqh98ntpDnY2H9?p=preview
What is the motivation / use case for changing the behavior?
onBlur
rather thanonAdd
&onRemove
.The text was updated successfully, but these errors were encountered: