Open jfowl opened 2 years ago
Can you try with the text
parameter to initialize it?
Hey @pstanoev, I apologize for not answering, currently too busy working on my thesis. I will get back to this eventually. :)
Okay, I can't find the energy to re-test this currently, sorry :/
Feel free to close this issue :)
A bit hard to describe, so here is some code to show it:
This is my component (let's call it
ResolutionSelector
) which wrapsAutoComplete
I bind to my components
selectedResolution
from outside and expect that it is reflected inAutoComplete
's value.But it does not react to setting it to a string like
"-none-"
or anything else. Binding toAutoComplete
'splaceholder
works, though.I suspect the duality of using objects for the choosable items, but exposing just one property of them as the selected value, might be the culprit. I'm not certain on this, so maybe you might be able to spot the real issue :)