How to handle the data that are entered in the filed that are triggered by toggle
Here is a hypothetical test case
Test Case User is asked if they want to provide an address Answer options: Yes or NO
User answer yes and fields to provide an address appears User entres the information After all, information is entered user decided to change the answer to NO The fields disappear
Then The user decided to select YES again The fields appear and ...
Question: Should we prepopulate the fields with previously entered information?
What is the best user experience?