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
Describe the bug
It seems like the remove event emits the whole NgOption object instead of its value property.
To Reproduce
Select an arbitrary item
Deselect previously selected element
Inspect emitted value from (remove) event.
Expected behavior
I would expect that the value emitted from the remove event should contain direct value of the item passed by the user to the items array - the same structure as its counter part add event emits.
The text was updated successfully, but these errors were encountered:
@pavankjadda i'm sorry, what exactly do you mean by "not all options are string"? In this particular case full NgOption model is emitted instead of its value
@pavankjadda i'm sorry, what exactly do you mean by "not all options are string"? In this particular case full NgOption model is emitted instead of its value
Describe the bug
It seems like the
remove
event emits the wholeNgOption
object instead of its value property.To Reproduce
Expected behavior
I would expect that the value emitted from the remove event should contain direct value of the item passed by the user to the items array - the same structure as its counter part
add
event emits.The text was updated successfully, but these errors were encountered: