Read-only functionality to inputs or use-form #7436
Agular
started this conversation in
Feature requests
Replies: 1 comment
-
You can do that with https://mantine.dev/form/get-input-props/#enhancegetinputprops |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I think it would be a nice feature to add read-only functionality to Inputs and add that state to the use-form hook.
In the read-only view, values would be rendered with a label and plain-text values, special inputs such as Switches, checkboxes etc would not allow any changes.
An function toggleEdit / setEdit could be added to the use-form hook which could allow toggling the state of the form.
Beta Was this translation helpful? Give feedback.
All reactions