When I don't refocus first (e.g. with a tab or a click away) first, I am losing the data entered in my editable field when I press a button (built with dbr.button) which makes changes to the database, and executes instead of the editable field's normal behaviour when focus is lost on it.
After this, to persist the changes I made to the field happen (I can still see them there on the screen, but they were never saevd) I have to refocus on it and then focus away.
How can I fix this so that I can just fill in the field then click the button without losing the data?