I would like to turn off (and back on) the auto suggest/auto complete functionality based on user selection.
Here is the scenario:
I have an address form with the fields Suburb, State, Postcode and Country (screen shot attached)
- When the Country (kendoDropDownList) is set to “Australia” the Suburb box suggests items based on the Australia post listings (datasource is a webservice) and the State and Post Code fields are also disabled as they are populated by the AutoComplete data item.
- Now, when the user selects a country other than “Australia” I want the Suburb box to stop suggesting Australian suburbs and re-enable the State and Post Code fields.
Binding to the DropDownList’s select event is fine and re-enabling the fields works, but I can’t work out how to stop the AutoComplete box.
Any help is greatly appreciated!