Skip to content

Conversation

Hugome
Copy link
Contributor

@Hugome Hugome commented Dec 14, 2022

When onSelectedItemChanged is called after a reactivity change from outside the component and the new selectedItem is undefined/null, the text keep the same previous value, but change the actual value.

The labelFunction/safeLabelFunction check if the selectedItem is undefined/null and set the correct empty string in the text

@Blitzlord
Copy link

Hey, I noticed the same issue.
When trying to change/clear the input from the outside (like in this example) by using undefined , the input text remains.

@pstanoev pstanoev merged commit 29137f0 into pstanoev:master Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants