stormy-gold
stormy-gold•2y 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
dependent-tan
dependent-tan•2y 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?
stormy-gold
stormy-gold•2y 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
dependent-tan
dependent-tan•2y ago
Sorry for late reply, on commute right now, i will try to get back to you in ~20 mins
stormy-gold
stormy-gold•2y ago
Thanks. I think I'll switch to ReactMde instead since that's in the examples 🙂
Omer
Omer•2y 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
stormy-gold
stormy-gold•2y ago
looks great thanks!