Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144238 | Apr 26,2019 12:25 AM UTC | Apr 26,2019 07:14 AM UTC | ASP.NET Core - EJ 2 | 1 |
![]() |
Tags: MultiSelect Dropdown |
customValueSelection
event to fire. I can get select to respond but then I'm struggling with that removal step.
<div id='multiselect' class='col-lg-6' style='padding-top:15px'>
<ejs-multiselect id="txtTo" allowCustomValue="true" select="tochange" customValueSelection="onCustomSelection" placeholder="To" delimiterChar=";" floatLabelType="Auto">
<e-multiselect-fields text="EMAIL" value="EMAIL"></e-multiselect-fields>
</ejs-multiselect>
</div> |
<script>
function onCustomSelection(args) {
args.cancel = true; // restring the custom value selection.
}
function tochange(e) {
args.cancel = true; // restrict the select value.
}
</script>
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.