The form helper now accepts a second "options" argument. This lets you set a form key
, needed if there are multiple forms on the page. You can also disable the automatic remember behaviour by setting the remember
option to false
.
const form = useForm({
email: null,
password: null,
}, {
key: 'login',
remember: false,
})