Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can i add flex property to col? #37

Open
tushar-borole opened this issue May 23, 2020 · 3 comments
Open

can i add flex property to col? #37

tushar-borole opened this issue May 23, 2020 · 3 comments

Comments

@tushar-borole
Copy link
Contributor

tushar-borole commented May 23, 2020

right now you can spcify colSpan, but what if i want to specify span="flex" as pet as antd api

@supnate
Copy link
Contributor

supnate commented May 23, 2020

what do you mean by span="flex" of antd API?

@tushar-borole
Copy link
Contributor Author

tushar-borole commented May 23, 2020

https://ant.design/components/grid/#Col
span for col

 <Row>
      <Col flex={2}>2 / 5</Col>
      <Col flex={3}>3 / 5</Col>
    </Row>

@supnate
Copy link
Contributor

supnate commented May 23, 2020

I think it's not supported in form builder. But you can achieve similar effect by give total colSpan 5. Then each field can have colSpan=2, 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants