fair-rose
fair-rose•3y ago

Antd Textarea

Is there a trick to wiring up Antd TextArea inside a Form.Item to a resource in Edit view? I am not able to save anything in that input field
6 Replies
rising-crimson
rising-crimson•3y ago
Hey @geoffatsource, can this be related with the valuePropName and name fields of <Form.Item>? Not sure if this helps. If not, can you please create a reproduction example in Stackblitz or somewhere else?
fair-rose
fair-roseOP•3y ago
I wasn't able to find an example of use of Textfield in your docs, so I may just not be using it right. Antd docs do not use valuePropName
rising-crimson
rising-crimson•3y ago
Sorry for late reply, on commute right now, i will try to get back to you in ~20 mins
fair-rose
fair-roseOP•3y ago
Thanks. I think I'll switch to ReactMde instead since that's in the examples 🙂
Omer
Omer•3y ago
Hey @geoffatsource 👋 , I created an example for you ⚡ Everything seems to be working correctly. Can you review this example? refine https://stackblitz.com/edit/pankod-refine-1a5xxa?file=package.json,src%2Fpages%2Fposts%2Fedit.tsx&preset=node
Refine Antd Example (forked) - StackBlitz
Run official live example code for Refine Antd, created by Pankod on StackBlitz
fair-rose
fair-roseOP•3y ago
looks great thanks!

Did you find this page helpful?