Hi Jim,
Thanks for your update.
Query1:” it has bug if I change mode as : ej.MultiSelectMode.VisualMode”
As told earlier, in Visual Mode once the value is selected, it will not come again in the suggestion list and hence there are no duplicate values to be selected. It is not an issue. So, please use the previous shared workaround sample for the Delimiter mode, as suggested.
Query2:” And 'enableDistinct' only works for local data source, in enterprise application, we usually refers to remote data source.”
We have tried to reproduce this issue, but we were unable to reproduce it. The enableDistinct property is working fine and duplication is also avoided in remote datasource.
Query3:” 'cancel' would be nice solution to avoid duplicated item”
The behavior of the “cancel” argument in select event is not what you expect. This cancel argument is used to cancel the remaining operations after the event triggered in our source. Therefore, it is not the correct scenario to use the “cancel” argument for cancelling the select event itself.
Please let us know if you have any further queries.
Regards,
Arun P.