can you add functionality to get the current clicked value in :selecting event, not in :select
You should be able to get the current clicked value using
evt.args.data.id
Because the arguments for preventable events are passed in as the .args.
This appears to be more of a usage question than a bug report or common feature request. As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.
I use evt.params.args.data.id to get the value.
Thanks
Most helpful comment
I use evt.params.args.data.id to get the value.
Thanks