confirm() that resets the state when submitted
aplavin opened this issue · 0 comments
aplavin commented
Is there a way to implement an option in confirm()
, or another wrapper so that confirm(TextBox())
reset the textbox value to the default (empty string) after submission?
Same for all widgets within confirm: stuff like selects and checkboxes would also reset.
That's how forms typically work when used to enter and add more items to some list.