Closed woochica closed 4 years ago
Can we use the
change
event instead ofinput
for this? That'll support Edge v12-78 in addition to 79+.
Sure, good point. I remembered change
is only fired when the element loses its focus, but appearently in case of the select element, it gets also fired when "selecting a value from a
Thanks! I'll push a new version once the empty attribute PR is merged.
Add Html Event attribute
onMultiSelect
to handle input events on multi-choice select elements.Html.Events.onInput
parsesevent.target.value
that doesn't work with multi-choice select elements.onMultiSelect
will grab the string values ofevent.target.selectedOptions
parsed bytargetSelectedOptions
on any input event.