-
What is the best way to wrap fields in a Col using SimpleSchema2 and the uniforms property?
Usage:
As a result, the UI is breaking. The form keeps re-rendering. Is there something wrong with my approach? Or is there a better way to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Hi @danyhiol. I think it may be a perfect case for overriding |
Beta Was this translation helpful? Give feedback.
Hi @danyhiol. I think it may be a perfect case for overriding
AutoField
. You could create a customAutoField
, that wouldn't return the original AntD components, but rather wrap them in a higher-order component rendering the wrapping component.