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
deep-jade•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?flat-fuchsia•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
deep-jade•2y ago
Sorry for late reply, on commute right now, i will try to get back to you in ~20 mins
flat-fuchsia•2y 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](https://cdn.discordapp.com/emojis/961908016188362802.png)
Refine Antd Example (forked) - StackBlitz
Run official live example code for Refine Antd, created by Pankod on StackBlitz
flat-fuchsia•2y ago
looks great thanks!