Dependencies check up
What version of @mantine/* packages do you have in package.json?
8.3.9
What package has an issue?
@mantine/form
What framework do you use?
Vite
In which browsers you can reproduce the issue?
None
Describe the bug
I use useForm() and
<FileInput
key={form.key("image")}
{...form.getInputProps("image")}
On edit I initialize form with data from server:
form.setValues(values);
form.resetDirty(values);
values has image which is a Blob.
If I pick a different image the form is not marked as dirty (form.isDirty() is false).
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
Dependencies check up
What version of @mantine/* packages do you have in package.json?
8.3.9
What package has an issue?
@mantine/form
What framework do you use?
Vite
In which browsers you can reproduce the issue?
None
Describe the bug
I use
useForm()andOn edit I initialize form with data from server:
valueshasimagewhich is aBlob.If I pick a different image the form is not marked as dirty (
form.isDirty()is false).If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service