Skip to content

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

@Jaishankarb

Description

@Jaishankarb

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>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions