<$let
newFieldNameTiddler=<<qualify "$:/temp/NewFieldName">>
>
<$transclude tiddler="$:/core/ui/EditTemplate/fields"/>
</$let>
If you try to add a field with this, all your tiddlers will be deleted. Deleting an existing field doesn’t cause this issue.
Meanwhile, this work fine :
<$let
newFieldNameTiddler=<<qualify "$:/temp/newFieldNameTiddler">>
newFieldValueTiddlerPrefix=<<qualify "$:/temp/newFieldValueTiddlerPrefix">>
>
<$transclude tiddler="$:/core/ui/EditTemplate/fields"/>
</$let>
https://demos.tiddlyhost.com/#Maybe%20a%20bug%20-%20fields%20edit%20template
A user on discord had all of his tiddlers deleted after he did this command: “npm update -g tiddlywiki”
According to him, he tried to update a field when it happened and he think that the issue is related.