Clearing filled textfields and other fields on navigation or backbuttonpressed without clearhistory true


I want to clear all my login or register data on going back by android system bottom back buttom or on page router navitgation.


if i go back to the screens still the page validation and history same.


Are you using Angular?


Yes I am using angular


Simply call the reset on FormGroup.