Ionic 5 unable to set clear text after value being set

  angular, html, ionic-framework, ionic5, typescript

<ion-textarea [autoGrow]="true" [value]="outputDesc " readonly>

ts file

Load data function:this.outputDesc = data[0].ItemDescription[0].OutputDesc;

Clear function: this.outputDescription = null;

I able to set the textarea to the value but when i click on the clear button the textarea did not change i have also tried setting the clear function as this.outputDescription = "";

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.