exclude fields in creates view
how to add custom fields to chakra ui "create" component and exclude it from being injected to database
4 Replies
Hi @M Farhan Zachary. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain information on how to add custom fields to the Chakra UI "Create" component and exclude them from being injected into the database.
However, you can customize the content, wrapper, and header of the "Create" component using the
contentProps
, wrapperProps
, and headerProps
properties respectively. You can also use the resource
prop to use a custom resource for the "Create" component.
For more detailed information, you may want to refer to the refine documentation (https://refine.dev/docs).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@757407865391808603> kapa.ai is still learning and improving, please let us know how it did by reacting below
fascinating-indigo•8mo ago
Hey @M Farhan Zachary, you can add any field you want just like handling other fields then you can remove them by overriding the
onFinish
values, check out the Modifying data before submission section of the Forms guide here: https://refine.dev/docs/guides-concepts/forms/#modifying-data-before-submissionForms | refine
In almost every user facing application, forms are a necessity. They are the primary way for users to interact with your application and provide data to your backend. They are also one of the most complex parts of an application to build and maintain with many cases and features to consider. Refine's form integration aims to make this process as...
absent-sapphire•8mo ago