use-form doesn't allow reset of a selected value #7588
atumas-bananamilk
started this conversation in
Feature requests
Replies: 1 comment 4 replies
-
You can do that by calling |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.17.1
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
None
Describe the bug
use-form
supportsform.reset()
but nothing likeform.reset('name')
.This is crucial when wanting to reset only "name" to its original value, not the whole form.
Some context:
Cancel
button should reset only "image" to its initial value:workspace?.image || DEFAULT_NAME
There's no such functionality. Please implement it.
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
Beta Was this translation helpful? Give feedback.
All reactions