Form reset instead of clear

As some additional features of the new Form v2 component, we now have both form.clear() and a form.reset() functions! :tada:

The on submission behavior is also a bit more flexible now, defaulting to reseting if there is a default value, or clearing if there is no default value:

You can also use an event handler and a control component action to customize this further

2 Likes