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

Input的size属性在Form组件中失效 #1732

Closed
juneryo opened this issue May 18, 2016 · 4 comments · Fixed by #1735
Closed

Input的size属性在Form组件中失效 #1732

juneryo opened this issue May 18, 2016 · 4 comments · Fixed by #1735
Assignees

Comments

@juneryo
Copy link

juneryo commented May 18, 2016

version: 1.0.1

若Input组件放在Form中,即

<Form>
    <Input />
</Form>

或者

<Form>
    <FormItem>
        <Input />
    </FormItem>
</Form>

此时设置Input的size,是无效的。
若放在Form外面,则是没问题的。

@benjycui
Copy link
Contributor

注:标准表单中一律使用大号控件。

http://ant.design/#/components/form?scrollTo=Input+%E8%BE%93%E5%85%A5%E6%A1%86

@henryzp
Copy link

henryzp commented Mar 13, 2017

@afc163 ,为什么不提供input的size配置呢??

@benjycui
Copy link
Contributor

@henryzp 显式覆盖 size 是可以的 see #1735

@lock
Copy link

lock bot commented May 1, 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 May 1, 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

Successfully merging a pull request may close this issue.

4 participants