Dropdown value is not cleared when options change #8806
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/primeng-dropdown-options-changed-value-not-cleared
Current behavior
If a dropdown has a selected item and it's options change so that selected item is not longer present, the dropdown keeps previous value and "clear" button is not hidden:
Expected behavior
The dropdown value has to be cleared (with "change" event fired) and "clear" button hidden.
The text was updated successfully, but these errors were encountered: