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

setting width to 100% isn't effective on Input component with addon in Form.Item #6379

Closed
gaohuiling0108 opened this issue Jun 6, 2017 · 2 comments

Comments

@gaohuiling0108
Copy link

Version

2.10.4

Environment

In the latest version of antd, Chrome 58.0.3029.110 (64-bit)

Reproduction link

https://codepen.io/candy_ghl/pen/BZyeXm?editors=0010

Steps to reproduce

As described in CodePen

What is expected?

When setting width to '100%', the width of addon-Input can be as wide as form item

What is actually happening?

Width of the addon-Input is limited by the style of ant-input-group-wrapper

@afc163
Copy link
Member

afc163 commented Jun 6, 2017

fixed in 920adb9, wait for next release.

@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants