Skip to content

Commit

Permalink
changes from #103 fixes #99
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterStaev committed Jun 23, 2017
1 parent 282d9a4 commit b1873c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions angular/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { AfterViewInit, Directive, ElementRef, HostListener, Inject, NgModule, forwardRef } from "@angular/core";
import { FormsModule, NG_VALUE_ACCESSOR } from "@angular/forms";
import { BaseValueAccessor, registerElement } from "nativescript-angular";
import { convertToInt } from "nativescript-angular/common/utils";
import { View } from "tns-core-modules/ui/core/view";

registerElement("DropDown", () => require("../drop-down").DropDown);
Expand Down Expand Up @@ -47,7 +46,7 @@ export class SelectedIndexValueAccessor extends BaseValueAccessor<SelectableView
this._normalizedValue = null;
}
else {
this._normalizedValue = convertToInt(value);
this._normalizedValue = value;
}

if (this.viewInitialized) {
Expand Down

0 comments on commit b1873c2

Please sign in to comment.