Skip to content

Nativescript app crashes when ngModel'ed value is being bound in the same UI #827

@lu4

Description

@lu4

I have fairly simple helloworld app, the problem boils down to two lines of code:

    <Slider minValue="1" maxValue="999" [(ngModel)]="intertialResolution"></Slider>
    <Label [text]="intertialResolution" textWrap="false"></Label>

intertialResolution is an ordinary field with initial value equal to 10. I've found that the problem shows up in all cases when I try to bind the value which is ngModel'ed. If one of the above lines is removed the app works perfectly fine. Also I've successfully imported NativeScriptFormsModule into my NgModule.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions