material-angular-select icon indicating copy to clipboard operation
material-angular-select copied to clipboard

Add rebinding of of id/value default parameters

Open Gid733 opened this issue 5 years ago • 1 comments

Implement id/value rebinding with required properties from object

<material-angular-select [data]="countries"
                   [label]="'Location'"
                   [name]="'country'"
                   [currentValue]="locationValue"
                   [idBinding]='"id"`
                   [valueBinding]='"text"'
                   (selectedValue)="changeCountry($event)"></material-angular-select>

Gid733 avatar Apr 24 '19 17:04 Gid733

@Gid733 What do you mean by binding value? You can use currentValue and selectedValue to control the value.

ByPort avatar Jun 19 '19 13:06 ByPort