Skip to main content
I have a flow where once the signatures are done after filling the input fields the input fields has to be disabled.iam attaching the html & Js code SS.

 

Help appreciated.Hi All, Need help on LWC Like Belowthis is the code for JS file

 

Thanks in advance.
1 Antwort
  1. 25. Feb. 2021, 15:02

    'oninput' event will be fired only when a user enters anything into that textfield. In my understanding, this.isAllSigned is a @track'ed property, right? Try the following:

    get isQuestionTextfieldEnabled() {

    if (this.isAllSigned) { return 'disabled'; }

      return '';

    }

    <input type="text" ... disabled={isQuestionTextfieldEnabled}">

0/9000