I'm using Kendo UI Autocomplete select. I want to handle some cases where the input value doesn't match the suggested ones so the dropdown wouldn't show up. For example when my list contains :
values=[1xx,2xxx,3xx,4x,5xx]
When the user insert some value in textbox like 6 as a first digits in meanwhile an event will be triggered. Is there any way using JQuery
You could write some custom functionality on the
filteringevent of the Kendo Autocomplete control.dataSourceof the Autocomplete controldataSourceitems match the input value - using a boolean to determine iftrueorfalsee.preventDefault()to stop the Autocomplete control from carrying out any further functionality (if a match has not been found based on the input value)All neatly packaged in a Dojo example which should just about cover it!