wee-sapphire•4y 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
conscious-sapphire•4y 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?wee-sapphireOP•4y 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
valuePropNameconscious-sapphire•4y ago
Sorry for late reply, on commute right now, i will try to get back to you in ~20 mins
wee-sapphireOP•4y ago
Thanks. I think I'll switch to
ReactMde instead since that's in the examples 🙂Hey @geoffatsource 👋 ,
I created an example for you âš¡ Everything seems to be working correctly. Can you review this example?
https://stackblitz.com/edit/pankod-refine-1a5xxa?file=package.json,src%2Fpages%2Fposts%2Fedit.tsx&preset=node
https://stackblitz.com/edit/pankod-refine-1a5xxa?file=package.json,src%2Fpages%2Fposts%2Fedit.tsx&preset=nodeRefine Antd Example (forked) - StackBlitz
Run official live example code for Refine Antd, created by Pankod on StackBlitz
wee-sapphireOP•4y ago
looks great thanks!