In my extension (Nova Beautify) I have in the preferences text fields that also have a default. If the user empties the text field (i.e. clearing all contents) and then leaves the preferences, the default gets automatically re-applied.
To me this seems to be a bug since it disables the ability to clear a text field that has a default.
The default should only be applied if the preference did not exist in the preferences before (i.e. when creating new preferences with a new version of an extension) but not if it is emptied.
Please let me know whether this truly is a bug or whether I need to find a workaround around that problem myself.