Closed grailian closed 6 years ago
@raynor85 could you please check this and decide to merge this (#4) or not?
@BukhariMuslim #4 breaks the emailValidation example. I would love to merge it, but backwards compatibility must be guaranteed. @grailian if you don't mind, can you please add this in your PR? Thanks
onChangeSelectedItems
props has been added with d61ca89b916979e3a377740afbeb742e377c31f9
Hello!
I think it would be very convenient to add an
onChange
prop to<Selectize />
. Here is my desired used case:It looks like this could be achieved by adding this line:
this.props.onChange(selectedItems.result.map(id => selectedItems.entities.item[id]));
to the
_onChipClose
and_selectItem
functions.