Closed vladyslav-polishchuk closed 1 year ago
Hi @vladyslav-polishchuk. As you can see in the peerDependencies
section of uniforms-antd
, it does not support v5 at all. I've created https://github.com/vazco/uniforms/issues/1261 to track this, but I'd close this one as it's not a bug really (it's expected not to work).
Let us know if you'd like to help with the v5 theme in the other issue or if you'd have any questions!
For antd version 4 (for example 4.24.8) form with vertical layout worked properly: label was displayed above field. After migration to antd version 5 (for example 5.4.2) vertical layout stopped working: label and field are displayed on the same row.
Here are the reproduction links (need only to change antd version in package.json to start reproducing): https://codesandbox.io/s/admiring-night-l5uq4g?file=/src/index.js
https://codesandbox.io/s/flamboyant-goldstine-nizbe1?file=/App.tsx