JuliaPluto / PlutoUI.jl

https://featured.plutojl.org/basic/plutoui.jl
The Unlicense
299 stars 54 forks source link

confirm() that resets the state when submitted #251

Open aplavin opened 1 year ago

aplavin commented 1 year ago

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.