auto-complete
auto-complete copied to clipboard
Value Formatting vs. Display Formatting
Suggestion This maybe is not a bug, but it's would be much better to use.
What i did - Steps
- Im using this searchable autocomplete with some models like:
{ customerNumber: 1, name:'Hans' } - I've done value Formatting so we can see name and customer number
- Accept-user-input is set to false
- After the first click i can enter custom stuff so i decided to use a async validator
- If I select a list item everything is fine, because the value is the model object
- If i enter the input again just with a click, changing nothing, the value changes to the displayed string which cause validaton failure
Current behavior
- Value changes to formatted string after entering the form with the mouse again
Expected/desired behavior
- Value still is the selected model object