like-gold
like-gold10mo ago

It's not validation I need - it's a data

It's not validation I need - it's a data condition. Basically, before submitting I need the logic to go grab a value from a different data source (or create it if it doesn't exist there) and then append it onto the form data. At this point I'm deep into a custom method but would still be interested in a solution if someone has one for future reference...
1 Reply
exotic-emerald
exotic-emerald10mo ago
Hey @relero90 we have similar use-cases in our app-crm example. You can check them. https://github.com/refinedev/refine/blob/master/examples/app-crm/src/routes/companies/components/title-form/title-form.tsx npm create refine-app@latest -- --example app-crm
GitHub
refine/examples/app-crm/src/routes/companies/components/title-form/...
A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility. - refinedev/refine