Some components such as the profile modal and community settings modal have details that can be modified. Currently, 2 different Chakra components are used and managed by a state which keeps track of whether the user is modifying the data. Instead, using the editable field would simplify the code as the same component can function as both. It will be a normal text field but when the user clicks it, it will turn into an input field.
https://chakra-ui.com/docs/components/editable/usage
Some components such as the profile modal and community settings modal have details that can be modified. Currently, 2 different Chakra components are used and managed by a state which keeps track of whether the user is modifying the data. Instead, using the editable field would simplify the code as the same component can function as both. It will be a normal text field but when the user clicks it, it will turn into an input field.
https://chakra-ui.com/docs/components/editable/usage