Using TW5 v. 5.2.3 on Vivaldi browser (latest) with Windows 10 and timimi for saving.
I have a setup where I can fill out a form.
Values are stored in fields of a temporary tiddler (based on the qualify macro) after saving that form the fields and values are stored in the current tiddler and the temp tiddler is destroyed.
I have a button that is able to “delete a field” of the temp tiddler by setting the field value to empty ""
<$button class=<<class>> actions=<<delete-actions>>>delete text</$button>
\define delete-actions() <$action-setfield $tiddler=<<store>> $field=<<index-list>> $value="" $timestamp="no"/> \end
Whenever I use that button I get a browser prompt:
Leave site?
Changes you made may not be saved.
Clicking cancel is my solution. The operation does as intended. The field will be set to empty.
I have an older wiki v. 5.1.23 where I use the same setup and never had this problem.
I don’t understand this behavior. I would rather not get that prompt. Anyone got any idea ?