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.
Is there a way to implement an option in
confirm()
, or another wrapper so thatconfirm(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.