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
afraid-scarlet•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?other-emeraldOP•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
afraid-scarlet•3y ago
Sorry for late reply, on commute right now, i will try to get back to you in ~20 mins
other-emeraldOP•3y 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

Refine Antd Example (forked) - StackBlitz
Run official live example code for Refine Antd, created by Pankod on StackBlitz
other-emeraldOP•3y ago
looks great thanks!