06-06-2024, 06:35 AM
Typing a digit into Years (for example) does prompt you if you use the back button.
However, I'm using edit in a looser sense i.e. any change to any field.
Today I pressed X to delete "Needs Work" (my choice of words) located in the Sources field; I wasn't prompted when I hit back.
I've no idea if this applies to any other fields
Testing further, I see you are checking as an input field is being modified. This means that you also get a prompt if one edits a field and then restores it's original value; I would have checked all the values against their input values when the dialog was about to close (if a user has pressed Save then the values should all match - or you can avoid prompting, whichever is easier). Checking at the end means that the user doesn't get a prompt if all changes had been backed out.
Geoff
However, I'm using edit in a looser sense i.e. any change to any field.
Today I pressed X to delete "Needs Work" (my choice of words) located in the Sources field; I wasn't prompted when I hit back.
I've no idea if this applies to any other fields
Testing further, I see you are checking as an input field is being modified. This means that you also get a prompt if one edits a field and then restores it's original value; I would have checked all the values against their input values when the dialog was about to close (if a user has pressed Save then the values should all match - or you can avoid prompting, whichever is easier). Checking at the end means that the user doesn't get a prompt if all changes had been backed out.
Geoff
Samsung Galaxy Tab A6