Commit Graph

153 Commits

Author SHA1 Message Date
Eric Wang
436d4b1be5
improvement: Fix types in form item (#22962)
* Fix types in form item

* use jsx.element
2020-04-13 21:30:55 +08:00
zombiej
913204282b merge master 2020-03-28 16:31:17 +08:00
二货机器人
567e8a14c6
chore: adjust ts define (#22662)
* chore: adjust ts define

* Update FormItem.tsx
2020-03-27 15:08:55 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
二货机器人
8514e0f71e
fix: Form.List nest warning (#22575) 2020-03-24 23:39:56 +08:00
二货机器人
d0e182ea70
chore: Warning with defaultValue (#22571)
* add faq

* chore: Warning if Field with defaultValue
2020-03-24 22:23:40 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
偏右
5bf2b0df8d
🐛 fix Form requestAnimationFrame is not defined (#22429) 2020-03-20 11:51:51 +08:00
二货机器人
9e3ddb22ff
opt of noStyle message (#22410) 2020-03-19 21:43:57 +08:00
afc163
d03ac85f36 🔀 merge master into feature 2020-03-11 15:41:51 +08:00
Jingsong Gao
f21b4684c8
fix: fix FormItem hooks render error (#22053) 2020-03-10 13:19:35 +08:00
afc163
77d3a993fa 🔨 Merge master into feature 2020-03-09 17:18:32 +08:00
二货机器人
9fdb82b7df
refactor: Form.Item with pure children will only render once (#21991)
* refactor: Form.Item with pure children will only render once

* not skip for real render
2020-03-08 16:28:33 +08:00
zefeng
be990f9332
chore: remove unnecessary loop (#21978) 2020-03-08 00:54:45 +08:00
zombiej
bde335c761 merge master 2020-03-06 18:12:39 +08:00
二货机器人
e6965c909f
chore: Form.Item renderProps define (#21911) 2020-03-05 22:05:22 +08:00
二货机器人
103385ecb5
fix: Nest FormItem warning (#21896) 2020-03-05 16:22:02 +08:00
二货机器人
661ff7921d
feat: Form validateMessages support ${label} (#21835)
* update form deps

* update demo

* update test case
2020-03-03 21:57:06 +08:00
二货机器人
1f108ee086
fix: Form.Item renderProps return type define (#21716) 2020-03-01 00:21:37 +08:00
二货机器人
20a6ba3b86
fix: React 16.13 warning (#21702) 2020-02-29 15:21:32 +08:00
偏右
4f2ef2a355
🐛 Fix Form throw error when using BraftEditor (#21425)
component.props.onChange should not run when it is falsy

close #21415
2020-02-18 15:38:00 +08:00
二货机器人
68d5e2c8ef
omit validateFirst (#21329) 2020-02-10 21:55:55 +08:00
二货机器人
ad51283a9d
fix: Form.Item init status should also check help (#21211)
* fix: Form.Item init status should also check help

* clean up
2020-02-04 14:43:12 +08:00
Belikov Ivan
3a7235679b
fix: Form.Item name 0 processing (#21186)
* fix Form.Item name `0` processing

* Test coverage for `null`
2020-02-03 17:54:33 +08:00
二货机器人
207fc03c91
fix: Form.Item with name 0 should be validate (#21179)
* fix FormItem missing name

* update test case
2020-02-02 22:28:05 +08:00
二货机器人
074fa324b6
fix: FormItem required not work without name (#21168) 2020-02-01 20:09:29 +08:00
二货机器人
ee6f63f2e1
chore: Fix TS define of FormItem (#21067) 2020-01-22 11:33:35 +08:00
二货机器人
bfcd00a67b
fix: Form.Item ignore help = '' (#21026)
* help should support empty text

* test case
2020-01-20 16:09:59 +08:00
二货机器人
b67a1bee7d
fix: Form.Item keep render even it's not a Field (#20963)
* Not use Field when Form.Item is pure

* Add test case

* clean up

* add delay update for test
2020-01-17 11:50:06 +08:00
二货机器人
40d9627554
chore: Warning when FormItem use render props and name at same time (#20733) 2020-01-07 19:17:51 +08:00
二货机器人
17dd0d2de8
fix: FormItem should not trigger feedback className without hasFeedback (#20691) 2020-01-06 15:02:04 +08:00
叶枫
4adc4df3e6 fix: form item array children interface (#20577)
* Update Form.tsx

* Update Form.tsx

* fix: fix formItem array children interface

* fix: array

* feat: test
2020-01-01 20:07:09 +08:00
capdiem
91e342355c 🐛 fix: Fix that types of property 'children' are incompatible (#20554) 2019-12-31 20:21:30 +08:00
二货机器人
dd86ae251c
fix: Should also set className with customize help (#20489)
* add test case

* update snapshot

* update snapshot
2019-12-27 16:50:44 +08:00
二货机器人
92e5107ef8
fix: required support dynamic updated rules (#20207) 2019-12-12 12:05:59 +08:00
二货机器人
ae88fdeabd
feat: Warning invalidate element when using name. (#20191) 2019-12-11 16:08:59 +08:00
叶枫
6a70d31f1c feat: export FormItemProps (#20089) 2019-12-05 11:19:27 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
zombiej
1d516d7f7f merge feature 2019-12-01 15:29:53 +08:00
二货机器人
6396ddb4e7
fix: Omit useless props & fix icon missing (#19833) 2019-11-20 17:31:11 +08:00
二货机器人
efd3b35830
feat: Col support flex prop (#16635)
* feat: Col support `flex` prop

* update snapshot

* update doc

* row component use flex type by default

* revert grid flex layout doc

* remove float style

* remove doc old FAQ

* revert .make-row

* col style use flex and max-width

* remove useless Col style and imorove base doc for a single Col

* update snapshots

* fix flex mode pseudo

* update snapshots

* back to old flex mode demo gray background color

* set default col flex => 1 auto

* change grid about flex mode description

* update snapshots

* improve grid introduce and fix with gutter bug

* update snapshots

* remove version
2019-11-20 11:13:24 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
诸岳
8f52b8028b chore: Merge master branch and fix conflicts 2019-11-11 10:10:53 +08:00
Amumu
f38c7bb239 form item passing anyother attrs (#19599) 2019-11-06 23:30:41 +08:00
yoyo837
715814291b remove labelAlign: PropTypes.string, 2019-11-04 16:48:44 +08:00
yoyo837
c1d55addf1 Revert "remove labelAlign: PropTypes.string"
This reverts commit 764960875d.
2019-11-04 13:05:02 +08:00
yoyo837
764960875d remove labelAlign: PropTypes.string 2019-11-04 13:01:50 +08:00
Amumu
3402f656ad tuple FormLabelAlign (#19543) 2019-11-04 11:24:23 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00