listling icon indicating copy to clipboard operation
listling copied to clipboard

Item entry discarded without confirmation

Open dnnr opened this issue 4 years ago • 1 comments

Observation: When adding a new item, after having typed some content into the form, pressing the escape key does not prompt for any confirmation. Instead, everything entered is lost.

Expected behavior: Do not loose entered data without a confirmation prompt. Alternatively, keep the contents and show them when opening the new item form again. Or just don't react on escape key presses.

dnnr avatar Feb 20 '22 17:02 dnnr

Thanks for the bug report! :slightly_smiling_face: Indeed, simply closing a form should not lead to data loss. I agree with the two possible solutions you point out (either restore the data later or ask for user confirmation).

When reproducing the issue, I noticed two things: Data is currently restored when editing the list itself (but maybe consistently using a prompt is the better solution). The described problem also occurs when navigating away from the list.

noyainrain avatar Mar 01 '22 15:03 noyainrain