use mantine form with new component or edit context. if simplified enougnt it can work with minimal code
see mantine form and all sub form modules/examples
examples for the mantine form in the admin panel - here, here and here
as this is single form, i'ts ok to add request action in the component will be someting similat to this
use form initialValues, validate, transformValues , isDirty, etc. - as simple as possible
Add functionallity to edit active campaigns
[x] table button design here
[x] edit page design here
[x] confirmation modal for unsaved changes on the deisgn here - presss back button to dashboard to see it
[x] update campaig details action buttons (pause, cancel, editetc,) - design here
use mantine form with new component or edit context. if simplified enougnt it can work with minimal code see mantine form and all sub form modules/examples
examples for the mantine form in the admin panel - here, here and here
as this is single form, i'ts ok to add request action in the component will be someting similat to this
use form
initialValues
,validate
,transformValues
,isDirty
, etc. - as simple as possiblebacken route is not ready but the body will be