Only now I found out that this jquery extension is not a real combo box but a non-editable combo box. Maybe it is just me but a combo box for me means that you can decide to enter something new: https://en.wikipedia.org/wiki/Combo_box
First I thought clearIfNoMatch: false would make it that way. At least it looks like it. But the $target value does never get updated with the entered text and gets set to empty string even when clearIfNoMatch is false.
My proposal is to update the $target value with every keup event and don't clear it as well. Here is a diff how I use it:
Only now I found out that this jquery extension is not a real combo box but a non-editable combo box. Maybe it is just me but a combo box for me means that you can decide to enter something new: https://en.wikipedia.org/wiki/Combo_box
First I thought
clearIfNoMatch: false
would make it that way. At least it looks like it. But the$target
value does never get updated with the entered text and gets set to empty string even whenclearIfNoMatch
is false.My proposal is to update the
$target
value with every keup event and don't clear it as well. Here is a diff how I use it: