I want my form to have a vertical layout and a portion of my form I want to have an inline form. How to achieve this? I see no docs.
You can work around this using flex
and some CSS tweaks.
Add a wrapper around your inline part with display: flex
and also force display: flex
to the children of your wrapper.
https://codesandbox.io/s/silly-swartz-4vfp2
Another solution is to just combine inline parts together. Choose an inline layout for your form and just add <br/>
where you want line breaks.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.