Commit Graph

1141 Commits

Author SHA1 Message Date
二货机器人
567e8a14c6
chore: adjust ts define (#22662)
* chore: adjust ts define

* Update FormItem.tsx
2020-03-27 15:08:55 +08:00
afc163
43de6f3db9 fix test case 2020-03-27 12:26:57 +08:00
Vyacheslav Kamenev
fbdfd4afc0
move @form-item-label-height from form styles to theme variables (#22600) 2020-03-25 21:19:48 +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
二货机器人
f8a342f415
docs: Fix demo (#22569) 2020-03-24 21:46:09 +08:00
二货机器人
3459bfc0be
docs: 4.0.4 changelog (#22505)
* docs: Init changelog

* order

* grouping

* clean up
2020-03-23 10:57:37 +08:00
偏右
41e378a914
docs: 📖 better form demo code naming style (#22490) 2020-03-22 18:31:05 +08:00
Simon Knott
3dd2332549
Address diverse users without gender assumption (#22464)
Not all diverse users don't want to be addressed as "lady" - if they wanted to, they'd have put in "lady".
This commit fixes this potential offense and replaces it using a less specific "hi there".
2020-03-22 17:58:59 +08:00
二货机器人
d33784b813
docs: Update form demo (#22483) 2020-03-22 11:48:56 +08:00
偏右
5bf2b0df8d
🐛 fix Form requestAnimationFrame is not defined (#22429) 2020-03-20 11:51:51 +08:00
偏右
36924dda25
docs: update Form documentation (#22427)
* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2020-03-20 11:17:16 +08:00
二货机器人
9e3ddb22ff
opt of noStyle message (#22410) 2020-03-19 21:43:57 +08:00
xrkffgg
cdcd28860c
style: add rtl.less of Form (#22389) 2020-03-19 14:32:22 +08:00
丶尘殇
3645bd4ecc
docs: 📝 fix array type field of Form.Item name (#22304)
* 嵌套字段定义数组形式文档错误修复

* Update v3.en-US.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 11:03:33 +08:00
二货机器人
6d9f010dc2
docs: Add dynamic multiple fields demo (#22247) 2020-03-16 15:00:27 +08:00
Saeed Rahimi
c52d25d2cf
style: fix form item with feedback in rtl (#22222) 2020-03-15 19:20:10 +08:00
xrkffgg
a50c42c08b
style: fix form item rtl style (#22214) 2020-03-14 23:05:49 +08:00
骗你是小猫咪
9ccd5bcc33
fix: basic form style abnormal (#21907)
* fix: basic form style abnormal

* improve grid

* upgrade snapshots and improve priority

* resolve #22009

* fix wrap element

* increase priority

* revert grid basic demo

* fix snapshots
2020-03-10 22:15:27 +08:00
Jingsong Gao
639cedeac2
fix: fix FormList Operation type definitions (#22058) 2020-03-10 15:46:13 +08:00
Jingsong Gao
f21b4684c8
fix: fix FormItem hooks render error (#22053) 2020-03-10 13:19:35 +08:00
Jingsong Gao
6d48c131dc
docs: correct inline to noStyle (#22029) 2020-03-09 17:55:22 +08:00
qiqiboy
a476197405
perf(Form): FormContext use a memoized value(#21976) (#21980)
* perf(Form): FormContext  use a memorized value(#21976)

* fix #21976

* fix(Form): fix typo ‘useMemo’

Co-authored-by: qiqiboy <qiqiboy@tigerbrokers.com>
2020-03-08 17:41:45 +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
二货机器人
5fcdbe152e
chore: Form.useForm return same instance now (#21927)
* add test case

* memo of useForm
2020-03-06 12:07:55 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin (#21925)
* fix: MenuItem with icon only will still have additional margin

* update snapshot

* fix snapshot
2020-03-06 11:53:09 +08:00
偏右
afe0e3ddad
💄 Add less variable @form-item-label-height (#21912) 2020-03-05 23:04:27 +08:00
二货机器人
e6965c909f
chore: Form.Item renderProps define (#21911) 2020-03-05 22:05:22 +08:00
afc163
c5e5a8c895 update snapshots 2020-03-05 20:32:38 +08:00
zombiej
3de412353f chore: Remove duplicated css
close #21860
2020-03-05 17:23:28 +08:00
二货机器人
103385ecb5
fix: Nest FormItem warning (#21896) 2020-03-05 16:22:02 +08:00
偏右
3c292b9d62
docs: 📝 instruction about useForm
close https://github.com/ant-design/codemod-v4/issues/90
2020-03-04 11:26:37 +08:00
zombiej
55734400cc docs: Fix v3 form mig doc 2020-03-04 10:26:55 +08:00
afc163
c928952a89 🎬 improve form demo 2020-03-03 16:39:50 +08:00
二货机器人
228c978c7c
fix: help change cause react warning (#21800) 2020-03-03 12:10:32 +08:00
Martin Cermak
a226c226bf
doc: added more info about nested fields to migration guide (#21758)
Added more examples to form nested fields.
2020-03-03 10:51:54 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
二货机器人
1f108ee086
fix: Form.Item renderProps return type define (#21716) 2020-03-01 00:21:37 +08:00
二货机器人
105c3938b5
docs: Update migration guid (#21705) 2020-02-29 17:09:34 +08:00
二货机器人
20a6ba3b86
fix: React 16.13 warning (#21702) 2020-02-29 15:21:32 +08:00
二货机器人
ac94f96608
fix: Form.Item should not exceed of form width (#21682) 2020-02-28 16:45:25 +08:00
medayz
b617b41dcb
fix typos in messages (#21594) 2020-02-26 11:27:15 +08:00
偏右
2f91dd4925
🎬 fix Form demo warning (#21576)
close #21543
2020-02-25 16:21:24 +08:00
zombiej
3f8d6cd4f0 merge feature 2020-02-24 13:10:29 +08:00
mjfwebb
bdd79ec9f3
Update index.en-US.md (#21536) 2020-02-23 01:26:35 +08:00
偏右
db1383ca58
🐛 Fix Form forwardRef ts error (#21483)
https://github.com/ant-design/ant-design/pull/21482#issuecomment-588642994
2020-02-20 16:36:47 +08:00
zombiej
9a90c5b910 chore: Patch fix of #21476 2020-02-19 22:16:55 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size (#21476)
* fix: Form item has default height align with form size

* fix lint

* update snapshot
2020-02-19 22:04:25 +08:00
二货机器人
aa6ccda4ba
feat: Form support scrollToFirstError (#21462)
* feat: add scrollToFirstError support

* add test case

* clean up

* coverage

* feat: add scrollToFirstError support

* add test case

* clean up

* coverage

* update docs
2020-02-19 17:38:46 +08:00