How do I filter when I have the option for multiple selections using the Separator property
I have a Read action set up which passes the search data through to my controller and I have a client side script set up for the additional data
When a user has selected one user and then starts typing for the second user this pass "Name One; Nam" to the controller.
$("#distributionList").val() is passing the whole string and not the new search for the second name. How can I pass just the text that is being typed in and not the previously selected users.
1.
function
onDistributionListAdditionalData(obj) {
2.
return
{
3.
text: $(
"#distributionList"
).val()
4.
};
5.
}