Hi,
We have a grid layout, user needs to enter the necessary the data in the field by clicking on +Add row, every row has a dedicated Save and Discard button.
the UI have Back (LINK) to go previous page.
when a user click on + Add row in the table and enters data and don't click on save.
click on back (LINK), and comes to the same screen again,
ACTUAL RESULT: row value entered is displayed even row is not saved.
EXPECTED RESULT: Row value entered should not be displayed.
After clicking on Back (LINK) in UI and coming to the grid screen.
Discussion posts and replies are publicly visible
This is the expected behavior with Appian. However, if you want to lose that data when you navigate away, then you will simply have to set those brown to null. For this to happen, you will have to keep an identifier in your dictionary which tells you if the save button was clicked. For those where the save button is not clicked, you can simply set the values to null.
Or base the grid display on a temporary copy of the real data set; clicking "save" in a row would promote that row's data into the "original" copy, whereas clicking "back" would simply write the original copy back over the temporary copy.