change input value on click angular code example
Example: angular change element style on click
<button (onClick)="click($event)">Submit</button>
...
click( {target} )
{
target.style = "";
}
<button (onClick)="click($event)">Submit</button>
...
click( {target} )
{
target.style = "";
}