Last Updated: 25 Feb 2022 11:47 by Elliot
Created on: 19 May 2020 07:00
Category: MultiColumnComboBox
Type: Feature Request
Autovalidation of user input with Kendo MultiColumnComboBox

I use Kendo MultiColumnComboBox in a form. It's configured such that the user would type in some letters, search results will occur and the user can select the correct one. Then the ID number of the selected option would be saved to an int.

My problem occurs if the user for some reason was to not select one of the options, but instead write in a random text string and click the Submit button of the form. Then the program would try to save that string to an int variable, which would result in the quite unhelpful error message "The value 'Same random string' is not valid for RestaurantId". Even worse, if the user was to write in a random number that did not correspond to a RestaurantId, the web page would break.

I think it would be nice if MultiColumnComboBox had some built-in handler for those cases where the user input does not match any of the options in its dropdown list.

1 comment
Posted on: 25 Feb 2022 11:47
We are using Kendo UI for ASP Core but the same applies. We cannot use the MultiColumnComboBox in its current form.