Skip to content

Commit b1873c2

Browse files
committed
changes from #103 fixes #99
1 parent 282d9a4 commit b1873c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

angular/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { AfterViewInit, Directive, ElementRef, HostListener, Inject, NgModule, forwardRef } from "@angular/core";
22
import { FormsModule, NG_VALUE_ACCESSOR } from "@angular/forms";
33
import { BaseValueAccessor, registerElement } from "nativescript-angular";
4-
import { convertToInt } from "nativescript-angular/common/utils";
54
import { View } from "tns-core-modules/ui/core/view";
65

76
registerElement("DropDown", () => require("../drop-down").DropDown);
@@ -47,7 +46,7 @@ export class SelectedIndexValueAccessor extends BaseValueAccessor<SelectableView
4746
this._normalizedValue = null;
4847
}
4948
else {
50-
this._normalizedValue = convertToInt(value);
49+
this._normalizedValue = value;
5150
}
5251

5352
if (this.viewInitialized) {

0 commit comments

Comments
 (0)