I have text inputs as well as list items in my page .html file. I would like to truncate the values in all of those fields (or set them to default) on a button click. How can I do that in .ts file?
<button ion-button (click)="addEntry()">Add Entry</button>