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
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
I am trying to use polymer paper-dropdown-menu and paper-listbox. Now I am having problem in binding.
Here is dropdown list: <select name="singleSelect" [ngModel]="(person | async).department"> <option *ngFor="let x of departments">{{x.name}}</option> </select>
I converted into paper-listbox or paper-dropdown-menu <paper-listbox #department ngDefaultControl name="department" [ngModel]="(person | async).department" label="department" > <paper-item *ngFor="let x of departments"> {{ x.name }} </paper-item> </paper-listbox>
I am trying to use polymer paper-dropdown-menu and paper-listbox. Now I am having problem in binding.
Here is dropdown list:
<select name="singleSelect" [ngModel]="(person | async).department"> <option *ngFor="let x of departments">{{x.name}}</option> </select>
I converted into paper-listbox or paper-dropdown-menu
<paper-listbox #department ngDefaultControl name="department" [ngModel]="(person | async).department" label="department" > <paper-item *ngFor="let x of departments"> {{ x.name }} </paper-item> </paper-listbox>
departments = [{name: 'HR'}, {name: 'IT'}, {name: 'Admin'}, {name: 'Management'}];
I couldn't get and set selected value.
Please help!
The text was updated successfully, but these errors were encountered: