Currently, I have an input box in ng Ant design with the readonly attribute. I want to make it editable once the user clicks on edit. Can someone guide me on how to achieve this?
Snippet of Code:
<i nz-icon type="edit" class="toolbar-icon" (click)="edit()"></i>
<input type="text" nz-input [ngModel]="'French'" [readonly]="true">
ts file:
edit() {
console.log("function called");
}