fix(select): update name from ng-value to ngValue

Closes #7939
This commit is contained in:
Kara Erickson
2016-04-06 15:00:46 -07:00
committed by Kara
parent e310bee9e2
commit 3ca6df87b8
2 changed files with 7 additions and 7 deletions

View File

@ -98,7 +98,7 @@ export class NgSelectOption implements OnDestroy {
if (isPresent(this._select)) this.id = this._select._registerOption();
}
@Input('ng-value')
@Input('ngValue')
set ngValue(value: any) {
if (this._select == null) return;
this._select._optionMap.set(this.id, value);