Looks like there is no straight forward way to do this. I ended up using regular textboxes, saving their values manually in a dict and if on lost focus there was no valid string (int for example) I reverted back to original value.