Describe the bug
The autofill tag input keeps the partial word already used when you create a new tiddler, if you deleted the previous tiddler you used partial word in tag input. See https://github.com/Jermolene/TiddlyWiki5/pull/5032
To Reproduce
Steps to reproduce the behavior:
Expected behavior
In new tiddler created the tag input shall be empty
Screenshots

Desktop (please complete the following information):
@kookma thanks for your report. I think I'll change this behavior to how it was before
@kookma - I misunderstood the OP. I'll investigate how to fix this issue. Thanks for reporting!
@kookma - this issue is the same for the fieldname input and the fieldvalue input. This behavior was also in 5.1.22 ...
The fix would be a bit more complicated. I'd like to hear others if it's worth the effort
@BurningTreeC Yes, it seems this is the same behavior for Fields. Okay lets see what other users say!
Hi @BurningTreeC I do think the more expected behaviour would be to clear the typed input when clicking an entry in the dropdown.
I do think the more expected behaviour would be to clear the typed input when clicking an entry in the dropdown.
That's fixed with #5041 ... but the OP is more about state tiddlers not being deleted after cancelling/deleting a tiddler
@Jermolene Can I close this issue or it should be open for other fields?
@kookma I think you can leave this issue open
Hi @kookma, I believe I've fixed this issue in the following Demo:
If you have some time, you may want to test this :+1:
@BurningTreeC, Thank you!
I tested the demo.
It works fine! After each tag was added the input for the next tag is clear!
@kookma, it should also work for the fieldname and fieldvalue inputs!
@BurningTreeC Sorry, I forgot it!
Well I tested the Demo again! It nicely clears the field input and works as expected.
Side note:
When adding a new field (field name) using the mouse click the drop down will be closed, but when you add a field name by selecting from the drop down by pressing Enter key the drop down remains open! It is like nothing was happened, but after clicking the field value or remove focus from field name input you see the field was added.
When adding a new field (field name) using the mouse click the drop down will be closed, but when you add a field name by selecting from the drop down by pressing Enter key the drop down remains open! It is like nothing was happened, but after clicking the field value or remove focus from field name input you see the field was added.
@kookma - I think I don't understand what you mean. The fields that are added should always be clearly visible
@kookma - I think I don't understand what you mean. The fields that are added should always be clearly visible
Yes, the fields that are added are clearly visible! So, I confirm the issue has gone!
My point was: it is good to close the drop down on Enter.
Hi @kookma can this be closed?
Thank you Jeremy!
Most helpful comment
Hi @kookma, I believe I've fixed this issue in the following Demo:
delete_state_tiddlers.zip
If you have some time, you may want to test this :+1: