You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for your support and great work.
Currently we provide form submit handler by passing it to handleSubmit function returned from useForm composable. Instead of calling it as a separate function, having a property in useForm argument would be more straightforward.
First of all, thanks for your support and great work.
Currently we provide form submit handler by passing it to
handleSubmit
function returned fromuseForm
composable. Instead of calling it as a separate function, having a property inuseForm
argument would be more straightforward.To give an example, instead of doing like this:
something like the following would be better for dx and will be more related to usage of
useForm
composable:In order to prevent featuring this as a breaking change, the both ways could be available without contradicting each other.
Assuming the new interface is like the one above, following would work without any breaking change:
The text was updated successfully, but these errors were encountered: