Geeksltd / Olive

Olive framework, for more productive cross platform .NET solutions. It's available under the GPL v3 license. See License.md for more information.
https://geeksltd.github.io/Olive
Other
44 stars 44 forks source link

Text inputted into AutoComplete field not automatically selecting result with exact matching text by default #245

Closed ShivSGeeks closed 5 years ago

ShivSGeeks commented 5 years ago

If the user enters the exact text of a matching result in the AutoComplete field (e.g. when using an auto fill extension to populate the form, or if they enter matching text of an item that they had selected previously) and clicks Save without selecting that item from the results list (or if they select it, then modify the text in the field before saving), it will not select/store the matching result upon validating/saving. It will also throw a validation exception regarding the field, if it is mandatory.

Unless it was originally intended to be part of the original implementation, can we have it so that when the user enters text in the AutoComplete field, if it finds a result that exactly matches the inputted text, it will automatically select/assign that item by default when saving, but still allow the user the option to choose from any other related result(s) from the list?

hamidmayeli commented 5 years ago

It has been fixed in release 0.9.199 of Olive.MvcJs