You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
When not using a model's property to bind to, the selected option remains visible even when the options list does not include that option anymore (for example due to partial loading of the options via AJAX). The code is then like this:
However, when using a model's property for the binding, then the selected option is no longer displayed (a thin empty rectangle is shown instead of the normal, higher rectangle showing the name) when the option is no longer in the options list. The code then looks like this:
I don't understand where the difference comes from and if it can be avoided, so that the selected option is always shown, even when it is not available in the options list (like in the first example). I'm willing to assist with a PR, but then I'd first need to understand where the problem comes from.
The text was updated successfully, but these errors were encountered:
I try searching again on same element for any other name but never actually select anything
Now I should see the problem
Is that the case?
Also can you paste some screenshot of what you mean with "a thin empty rectangle is shown instead of the normal, higher rectangle showing the name"?
If you can put a plunker together will be good to try fixing faster.
When not using a model's property to bind to, the selected option remains visible even when the options list does not include that option anymore (for example due to partial loading of the options via AJAX). The code is then like this:
However, when using a model's property for the binding, then the selected option is no longer displayed (a thin empty rectangle is shown instead of the normal, higher rectangle showing the name) when the option is no longer in the options list. The code then looks like this:
I don't understand where the difference comes from and if it can be avoided, so that the selected option is always shown, even when it is not available in the options list (like in the first example). I'm willing to assist with a PR, but then I'd first need to understand where the problem comes from.
The text was updated successfully, but these errors were encountered: