Commit Graph

1491 Commits

Author SHA1 Message Date
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
limingxin
d719f16487
docs: update link (#29558) 2021-03-01 18:22:03 +08:00
mumiao
4ad6a55474
fix: form.item is not type safe due to not forwarding their type para… (#29397)
* fix: form.item is not type safe due to not forwarding their type parameters to the rcForm components

* test: add test cases
2021-02-27 23:51:35 +08:00
afc163
ba7fa15058 merge feature into master 2021-02-23 13:20:07 +08:00
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
二货机器人
bec5a08368
feat: InputNumber support stringMode (#29373)
* add input-number demo

* update snapshot

* update demo

* docs: Update desc

* update doc

* clean up React useLayoutEffect warning

* fix ts definition

* re-trigger

* update rc-uitl version

* bump rc-input-number

* update

* update

* fix ts

* update demo snapshot

* update doc

* update demo
2021-02-22 22:07:19 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if (#29368)
* refactor: use optional chaining instead of if

* revert some code
2021-02-19 18:26:53 +08:00
诸岳
9a44a7e915 Merge branch 'master' of github.com:ant-design/ant-design into feature-merge-master-branch 2021-02-11 00:00:25 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix (#29268)
* feat: add prefix

* fix: 剩余

* fix: test

* fix: test

* fix: test

* fix: test

* fix: 传了 name 则使用传的

* fix: pop 添加 prefix

* fix: Ok OK ?

* fix: modal confirm

* fix: select

* fix: test
2021-02-08 17:09:13 +08:00
afc163
a64056eb8a
fix: TextArea showCount should not be interactive (#29245)
close #29240
2021-02-05 20:34:28 +08:00
zj9495
f77a9ac402
docs: add missing docs for array rule (#28437)
* docs: add missing docs for array rule

* update docs

* update docs
2021-02-04 22:04:34 +08:00
陈帅
a4f0957576
docs: add 4.12.0 changelog (#29131)
* docs: add 4.11.3 changelog

* update docs

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* update docs

* add 4.12.0 changelog

* update docs

* fix typo

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* fix changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* update docs

* Update CHANGELOG.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>

* fix typo

* fix typo

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
2021-02-02 22:05:31 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
二货机器人
15a9947f87
docs: Improve fields value (#29075) 2021-01-27 17:48:43 +08:00
Homyee King
20c49b7bbb
docs: fix demo-focus layout (#29028)
* fix: demo-focus layout

* fix: update snap

* fix: form noStyle test case

* fix: update snap

Co-authored-by: wanghongye <wanghongye@kuaishou.com>
2021-01-26 09:36:20 +08:00
zombiej
9a01c9ea0b fix: name connect 2021-01-19 11:53:44 +08:00
zombiej
687b68b256 test: test driven 2021-01-19 11:51:13 +08:00
二货机器人
4315ac567c
chore: replace omit (#28846)
* chore: Replace omit.js with rc-util omit

* chore: Replace omit.js with rc-util omit

* fix ts

* fix ts

* fix ts
2021-01-13 21:00:30 +08:00
bigbigbo
b53a4b51ce
docs: fix errors in example code (#28677) 2021-01-04 18:43:59 +08:00
afc163
f2188064b2 merge feature into master 2020-12-28 15:32:03 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
二货机器人
6ecfa74e7d
feat: Select support responsive maxTagCount (#28520)
* feat: init select overflow

* chore: use inline-xxx instead of rtl

* docs: Add demo

* test: Update snapshot

* fix: style lint

* test: Update snapshot

* chore: Update rc-tree-select version

* test: Update snapshot

* test: Update snapshot

* chore: bump all rc-resize-observer version

* bump bundle size
2020-12-25 13:13:07 +08:00
偏右
6192403b2c
Update index.zh-CN.md 2020-12-24 17:30:03 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
Tom Xu
c00755f9ec Merge branch 'feature' into merge 2020-12-17 15:27:42 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check (#28389)
* chore: Add demo tsx check

* chore: Prettier

* chore: Fix lint

* fix: Upload ts definition

* chore: Demo onlt

* docs: Fix demo

* chore: Add CI action

* chore: Use real name

* chore: fix ts define

* chore: fix more ts

* chore: fix more ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: Update all rest TS demo

* fix test case
2020-12-17 15:09:18 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
chore: merge master into feature
2020-12-16 15:24:20 +08:00
afc163
9948d2f3e6 docs: add FAQ about custom form control
close #27994
close #24373
2020-12-15 20:14:09 +08:00
二货机器人
857cbe1b23
fix: Fixed columns z-index issue (#28346)
* fix: Fixed columns z-index issue

* fix lint
2020-12-14 16:04:23 +08:00
Kermit
b68ffc6068
docs: optimize trigger of Form.Item (#28197)
* docs: optimize trigger of Form.Item

* docs: update Form.Item
2020-12-14 11:54:06 +08:00
vouis
c4bb71c599
feat: change type from ScrollLogicalPosition to Options (#28324) 2020-12-11 23:25:21 +08:00
vouis
6426dbdfa4
feat: Form scrollToFirstError support ScrollLogicalPosition (#28272)
* feat: Form scrollToFirstError support ScrollOptions type

* feat: Form scrollToFirstError add boolean type

* Apply suggestions from code review

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-12-11 14:35:46 +08:00
arange
d372028476
docs: Update complex-form-control.md (#28311)
Fixing some typos and grammar issues.
2020-12-11 10:30:40 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
aLIEzsss4
6ef5eb1665
docs: fix Form errorFields name (#28270) 2020-12-09 14:41:25 +08:00
Tom Xu
03909941b8
docs: fix tree api and improve other api (#28264) 2020-12-09 09:54:44 +08:00
zombiej
97906a5ec3 docs: Add FAQ about normalize
close #28129
2020-12-07 11:09:01 +08:00
Johnny Lim
273ab186da
docs: fix typo (#28164) 2020-12-03 13:45:27 +08:00
Debiancc
ca5b47f674
fix: Add type of initialValue prop to Form.List (#28153)
* fix: Add type of initialValue prop to Form.List

* Update index.zh-CN.md

* Update index.en-US.md
2020-12-02 21:28:46 +08:00
einq7
6f0c65779c
fix: TextArea showCount style while using with Form (#28130) 2020-12-02 19:41:47 +08:00
Liming Jin
83e52a9555
docs: supplement Form.List errors (#28117) 2020-12-01 18:55:40 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
chore: merge feature into master
2020-11-30 16:17:12 +08:00
陈帅
4f811cbe82
docs: add a little pro-compents advertising (#28043)
* docs: add a little pro-compents advertising

* docs: add a little pro-compents advertising
2020-11-27 18:29:21 +08:00
陈帅
ec9111ed8d
fix: fix _internalItemRender transparent transmission problem (#27934) 2020-11-23 10:10:28 +08:00
Tom Xu
0676f07266 Merge branch 'feature' into merge 2020-11-21 19:50:41 +08:00
陈帅
95ce54ca79
feat: FormItem support _internalItemRender (#27881)
* feat: formitem support _internalItemRender

* add mark

* up rc-field-form

* fix ts error

* Update components/form/FormItemInput.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* update notes

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-20 21:43:43 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf (#27864) 2020-11-20 12:11:50 +08:00
Tom Xu
a9602b6d71 Merge branch 'feature' into merge-feature 2020-11-20 10:15:53 +08:00
二货机器人
8e3c828c9f
feat: Form.List support initialValue (#27872)
* feat: upport initialValue List

* docs: Update doc
2020-11-19 14:29:57 +08:00
Joseph Burton
e3a013f6cf
refactor: remove duplicate deconstruction in components/form/Form.tsx (#27810)
* refactor: make the code more concise

* Update Form.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-11-18 15:29:26 +08:00
偏右
e0c26b4ac1
style(💄): fix Button and Form loading spin animation (#27794) 2020-11-16 18:05:00 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
Shivam Modi
3d04e5d3fb
docs: fixed nested ternary operator in Form (#27724) 2020-11-12 23:20:13 +08:00
Shivam Modi
5818fdb1a2
fix Specific Note for option other for Gender in Form (#27704) 2020-11-12 11:30:56 +08:00
偏右
ef2c494c12
fix: Select error outline style in Form (#27607)
* fix: Select error outline in Form

close #27378
close #27526

* fix: css priority
2020-11-08 15:26:28 +08:00
Muhammad Sameer
87dfa411bc
docs: Update nest-messages.md (#27620)
Fixed grammatical errors.
2020-11-07 02:49:30 +08:00
zombiej
0bf5a43e15 chore: feature merge master 2020-10-30 20:55:27 +08:00
偏右
39e37bf1b4
fix: Input[allowClear] className (#27462)
* fix: Input[allowClear] className missing

close #27444

* fix snapshot
2020-10-30 15:27:37 +08:00
偏右
6880bf7073
Merge pull request #27388 from ant-design/master
chore: merge master into featrue
2020-10-27 12:21:04 +08:00
xrk
88414b3b33
fix: select focus border in form when has error (#27378) 2020-10-26 18:36:39 +08:00
Tom Xu
7be4339806 Merge branch 'feature' into merge 2020-10-24 20:53:34 +08:00
Tom Xu
7e782daec0
feat: ConfigProvider add form requiredMark (#27322)
* feat: ConfigProvider add form requiredMark

* Update Form.tsx
2020-10-24 14:27:49 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
二货机器人
06b25b4d07
refactor: Update rc-field-form version (#27319)
* refactor: Update rc-field-form version

* update snapshot
2020-10-23 15:20:48 +08:00
Tom Xu
0822ac618f
chore: add prettier ignore and format demo (#27270) 2020-10-21 11:06:07 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
偏右
27e9926438
fix: duplicated className on Search[allowClear] (#27261)
* fix: duplicated className on Search[allowClear]

close #27258

* fix snapshot
2020-10-20 21:44:37 +08:00
afc163
f80828bfd6 docs: 🎬 refactor Form demo code 2020-10-20 13:29:04 +08:00
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when !showCount (#27216)
* fix: TextArea layout

* test: Update snapshot

* fix: value logic

* fix: className & style logic

* chore: rm uesless code

* chore: Clean up
2020-10-19 14:03:19 +08:00
Yulia Maximova
1113867378
fix: form customizing mixin (#26422)
* fix: add styling form input background-color

* fix: conflict resolution

Co-authored-by: Maksimova, Yuliya <Yuliya.Maksimova@nexign.com>
2020-10-16 22:25:36 +08:00
Yu Mao
acc2e03ddf
fix: add optional rules property (#27164)
* fix: add optional rules property

* fix: replace interface
2020-10-15 22:31:51 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size (#27129)
* refactor: some styles to reduce css bundle size

* test: update snapshot

* fix snapshot

* fix test case

* fix addonAfter

* fix firefox style

* reduce riddon css size

* fix Input.Group border radius

* remove unused css selectors

* fix test cov

* fix search button hover border

* fix rtl textarea clear icon style

* update demos

* fix search rtl style

* fix input search style
2020-10-13 21:16:20 +08:00
afc163
679f0529fa docs: 📝 fix Form API table, close #27078 2020-10-10 23:12:34 +08:00
偏右
0fec3aa602
Merge pull request #27064 from ant-design/feature
chore: merge feature into master
2020-10-10 14:13:11 +08:00
zombiej
5909a4dae5 docs: Update form rule enum desc 2020-10-10 14:01:39 +08:00
偏右
4bf062c2a8
test: fix test cov (#27065)
* test:  upload and form

* refactor: tooltip always evaluates to true
2020-10-10 13:32:27 +08:00
zhangchen
138b953afd
feat: TextArea showCount (#26952)
* feat: TextArea showCount

* update: TextArea showCount test

* update: TextArea showCount test

* update: test

* update: test

* update: test

* update: interface

* revert: interface change
2020-10-10 11:30:58 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
Amumu
a2a4fa302d
docs: update form migrate docs title (#27029) 2020-10-08 13:15:13 +08:00
zombiej
40c8fb8363 chore: merge master 2020-09-24 15:26:37 +08:00
二货机器人
80d36fb0ae
docs: Add Form.List deps faq (#26873) 2020-09-23 22:24:09 +08:00
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight (#26849) 2020-09-22 17:04:48 +08:00
zombiej
8e14a9ce9c docs: Update Form labelCol & wrapCol desc
close #26770
2020-09-22 16:58:41 +08:00
zombiej
b696579cd4 fix test case 2020-09-22 11:36:15 +08:00
zombiej
358c7fa4c4 chore: feature merge master 2020-09-22 10:56:04 +08:00
Olivier Louvignes
93f2988585
chore: add FormListProps export in form/index.tsx (#26831) 2020-09-21 08:40:38 +08:00
Tom Xu
dcdb8f5587
docs: improve from list (#26813) 2020-09-19 23:21:25 +08:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
Régis Foucault
e849c94b48 docs: 📝 fix typo in complex-form-control.md (#26771) 2020-09-18 13:06:19 +08:00
二货机器人
b08b759ff4
feat: Form.Item support tooltip (#26780)
* feat: Support tooltip

* update test case

* update snapshot

* update doc

* fix lint

* support icon

* tmp use @text-color-secondary
2020-09-17 17:11:45 +08:00
二货机器人
1da6016cc2
feat: FormItem support generate for renderProps (#26791) 2020-09-17 16:51:19 +08:00
Régis Foucault
bb11f82ed2
docs: 📝 fix typo in complex-form-control.md (#26771) 2020-09-17 11:57:52 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
chore: merge master into feature
2020-09-16 14:49:19 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint (#26600)
* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* fix no use before define

* Update package.json

* fix lint

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
偏右
0067b923b9
Merge pull request #26738 from ant-design/master
chore: merge master into feature
2020-09-14 19:02:34 +08:00
二货机器人
1faabb219d
feat: Form.List support rules (#26676)
* Add ErrorList component

* move class to ErrorList

* support cache of status

* update doc

* update snapshot

* patch test case

* clean up

* docs: add faq
2020-09-11 21:27:51 +08:00
Sam Kah Chiin
4270fc7e12
[Chore] Fix typo in index.en-US.md (#26703) 2020-09-11 16:47:47 +08:00
Tom Xu
faa534c1c0
feat: form support messageVariables (#26597)
* feat: form support labelInMessage

* add doc

* change to messageVariables

* Update demo.test.js.snap

* feat: form support labelInMessage

* add doc

* change to messageVariables

* Update FormItem.tsx

* docs: add messageVariables use
2020-09-10 21:00:21 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
Long Nguyen
7b55f112ce
docs: fix typos (#26598) 2020-09-05 12:40:38 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome (#26590)
* fix: 🆙 upgrade rc-select to 11.2.x

* style: fix input search clear button

* test: update snapshot
2020-09-05 00:38:39 +08:00
zombiej
9663b24216 docs: Update requiredMark doc desc 2020-09-03 17:44:50 +08:00
zombiej
04d7a81ff7 docs: Update Form FAQ 2020-08-25 11:27:01 +08:00
偏右
24a86df257
style: 💄 fix Upload picture-card button style (#26367)
* style: fix Upload picture-card button style

close https://github.com/ant-design/ant-design/issues/26317
close #23339

* style: tweak Upload list animation

close #22386

* fix snapshot change

* docs: update Upload demos

* add test case

* update form demo

* fix test case
2020-08-24 16:33:24 +08:00
二货机器人
60771a0f61
feat: Support requiredMarkType (#26309)
* feat: support requreidMarkType

* docs: Update doc desc

* fix lint

* use requiredMark instead

* not change className

* fix ts

* update test case

* rtl style

* fix rtl

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-21 12:58:14 +08:00
zombiej
55c1dd02c2 chore: Merge master 2020-08-20 17:31:03 +08:00
yui
ab59023971
fix: typescript build in windows error from-item initialValue (#26292) 2020-08-20 14:42:09 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle (#26270) 2020-08-19 09:50:04 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
zoomdong
39f1126315
feat: Form.List add() support index param (#26081)
* feat: Form.List add() support index param

* update test case

* update
2020-08-12 19:13:44 +08:00
偏右
5a013478ef
fix: 🐛 Form.Item hidden not working in less (#26152)
close #26141
2020-08-12 13:08:50 +08:00
偏右
ae843df718
Merge pull request #26112 from ant-design/master
chore: merge master into feature
2020-08-10 14:53:46 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
07akioni
504d51477a
docs: Form add debug true on dep-debug (#26103) 2020-08-10 09:41:45 +08:00
zefeng
73ce401ae8
fix: 修复紧凑模式下表单项 margin 计算错误 (#26069)
close #25989
2020-08-07 13:45:35 +08:00
Kermit Xuan
85e28791cb
chore: replace rc-animate/lib/CSSMotion with rc-motion (#26049) 2020-08-05 23:05:25 +08:00
afc163
45cbbd6034 merge feature into master-to-merge-feature 2020-08-05 14:49:10 +08:00
二货机器人
c345580ea2
fix: hidden should higher than noStyle (#26020) 2020-08-05 10:08:57 +08:00
xrkffgg
c5a7f031e4
docs: format api (#25973) 2020-08-03 15:01:16 +08:00
PeakFish
a87c3a8997
docs: fix typo in demo 2020-08-01 21:35:19 +08:00
二货机器人
98050358f1
feat: Form support generic type (#25937)
* feat: Form support generic

* test: add test case of compile

* clean up
2020-07-31 16:53:39 +08:00
wa-ri
b9db9cd79f
docs: fix typo (#25914) 2020-07-30 15:44:30 +08:00
偏右
8eb4e83535
test: increase test covarage (#25857)
* test:  increase test covarage

* fix test case
2020-07-28 17:54:46 +08:00
偏右
cffa9af09b
feat: export FormList interface (#25849)
close #24487
close #25835
2020-07-28 13:04:18 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 (#25843) 2020-07-27 22:32:21 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice (#25768)
* docs: Update DatePicker docs and add legacy notice

* clean up

* only warning for QuarterPicker

* update docs

* fix lint

* note to warning
2020-07-23 11:25:17 +08:00
偏右
af27b029ad
Merge pull request #25743 from ant-design/master
chore: merge master into feature
2020-07-22 14:42:35 +08:00
Albert Zhang
26f1d201c0
feat: using alert role in form-item-explain (#25735) 2020-07-21 22:29:31 +08:00
二货机器人
356812627f
fix: Collect FormItem errors should be sync with state (#25737)
* passing error logic

* fix: Collect FormItem errors should be sync with stat
2020-07-21 20:51:36 +08:00
二货机器人
9728b9cc15
fix: FormItem with noStyle passing error logic (#25734) 2020-07-21 17:49:10 +08:00
afc163
508cecd0a7 merge feature into master-to-merge-feature 2020-07-21 16:23:13 +08:00
偏右
5ac3313b7f
fix: Form control clear icon position (#25728)
* fix: Form control clear icon position

close #23430

* 🆙 eslint-plugin-unicorn
2020-07-21 16:18:31 +08:00
zhangchen
51fa6fbdc4
fix: offset in FormItem's labelCol isn't work if layout is vertical (#25713) 2020-07-21 10:15:29 +08:00
zoomdong
b814270983
feat: update rc-field-form@1.8.0 and support remove use array in Form.List (#25638)
* feat: update rc-field-form@1.8.0 and support remove in Form.List use array

* feat: update readme

* feat: fix add function

* update

* update version

* update version

* update version
2020-07-15 22:17:17 +08:00
二货机器人
870138b088
Merge pull request #25604 from ant-design/master
chore: Feature merge master
2020-07-13 21:13:23 +08:00
zhangchen
fb869021aa
fix: Form.Item with help should display error style when validate failed (#25582)
* fix: Form.Item does not display validation message when set help

* fix: Form.Item does not display validation message when set help

* update: code style
2020-07-13 12:02:15 +08:00
偏右
d5cb860347
Merge pull request #25541 from ant-design/master
chore: merge master into feature
2020-07-09 16:43:45 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md (#25540)
* Update customize-theme.zh-CN.md

* test:  update snapshot
2020-07-09 15:16:49 +08:00
07akioni
4c2acbda7d
Merge pull request #25528 from ant-design/master
chore: merge master into feature
2020-07-09 11:39:48 +08:00
Amumu
b3a7ed5575
fix typo (#25525) 2020-07-09 10:24:41 +08:00
二货机器人
24abadd994
fix: preserve warning in Gorm.Item (#25518) 2020-07-08 23:43:26 +08:00
zombiej
0b7271767e docs: Add FAQ about Form.Item name array rule
close #25508
2020-07-08 23:00:35 +08:00
xrkffgg
22d4dbbe99
docs: reduce demo cascader/checkbox/form/inputno (#25484) 2020-07-07 22:06:00 +08:00
偏右
36d7985d85
Merge pull request #25470 from ant-design/master
chore: merge master into feature
2020-07-07 16:00:26 +08:00
07akioni
0ba2f830ac
test: update snapshots (#25469) 2020-07-07 15:38:09 +08:00
Kurt Furbush
20c2a6703f
Grammar (#25436) 2020-07-06 10:27:31 +08:00
07akioni
27b6ba6947
feat: form item dep (#25408)
* feat: warnings

* feat: deps work on FormItem with render props

* chore: add details warning info

* chore

* chore: rerun ci

* chore: revert

* docs

* docs
2020-07-03 16:25:29 +08:00