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
After having selected an option with nb-select, if the binded ngModel is resetted (null or undefined value) by the component, the option is still selected in the nb-select.
Expected behavior:
After having selected an option with nb-select, if the binded ngModel is resetted (null or undefined value) by the component, the option should be unselected in the nb-select.
Steps to reproduce:
Define a data model in the component.
Bind it to a nb-select in the template.
Create a button that resets the data model to null on click.
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
After having selected an option with
nb-select
, if the bindedngModel
is resetted (null
orundefined
value) by the component, the option is still selected in thenb-select
.Expected behavior:
After having selected an option with
nb-select
, if the bindedngModel
is resetted (null
orundefined
value) by the component, the option should be unselected in thenb-select
.Steps to reproduce:
nb-select
in the template.null
on click.nb-select
.Related code:
https://stackblitz.com/edit/github-naqwyy
Other information:
Angular, Nebular
The text was updated successfully, but these errors were encountered: