This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
Mdc-Select can not pre select #319
Closed
Description
What Angular MDC version are you using?
0.5.4
What browser(s) is this bug affecting?
Firefox
What OS are you using?
What are the steps to reproduce the bug?
Component :
public selectedStatus = 'Active';
HTML
mdc-select( #activestatus label="All Status" [(ngModel)]="selectedStatus"
'(change)'="setFilter('statusType', $event.value)")
mdc-select-item(value="All Status") All Status
mdc-select-item(value="Active" ) Active
mdc-select-item(value="Deactivated") Deactivated
What is the expected behavior?
Active to be selected
What is the actual behavior?
Any other information you believe would be useful?
Also, there is no way to preselect an item