Skip to content

isUserInteractionEnabled= true is not working after the http post  #890

Open
@tsonevn

Description

@tsonevn

From @Jaishankarb on July 11, 2017 16:22

is isUserInteractionEnabled is not enabling after the http post response

//typescript

 public signInInteraction: boolean = true;

 this._loginService.loginUser(JSON.stringify(this.loginUser))
        .subscribe((data) => {          
          this.signInInteraction = true;
          this.navHome();
        },
        (error) => {        
          console.log(this.password)
          this.signInInteraction = true;
          this.isLoginApi = true;
        });

//html

 <Button id="btnSubmit" text="Sign in" [isUserInteractionEnabled]="signInInteraction" class="Loginsubmit" autocapitalizationType="none" (tap)="Login()"></Button>

Copied from original issue: NativeScript/NativeScript#4540

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions