afc163
37442ae0d5
fix: Form layout span 24 usage ( #32981 )
...
close #32980
2021-11-23 13:15:06 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs ( #32839 )
...
chore: sync master to feature
2021-11-12 07:15:31 +00:00
seaSuper
9bc148abcc
feat: ConfigProvider add form colon ( #32818 )
...
* feat: ConfigProvider add form colon
* add: test for ant-design#32799
* fix: Modify FormItemLabel get ConfigColon from From
* refactor: Simplify the code
2021-11-11 17:51:33 +08:00
afc163
5360722e5c
chore: update form demo
2021-11-05 15:51:50 +08:00
二货机器人
184402a9bc
feat: Form.Item no longer need fieldKey
anymore ( #32689 )
...
* chore:Update Form to remove fieldKey
* fix: fieldKey cache logic
* test: Update snapshot
* chore: clean up
2021-10-29 18:24:50 +08:00
WeijieChen
4d9b6dc74e
docs: form register demo add textarea item ( #32669 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 12:26:18 +08:00
afc163
d361537748
fix: Mentions error style in Form ( #32385 )
2021-10-05 15:56:31 +08:00
二货机器人
bc9c2734dd
test: Raise coverage ( #32182 )
...
* chore: rm useless code
* test: Coverage of warningOnly
* test: 100% coverage
2021-09-15 17:13:51 +08:00
二货机器人
282b7c8575
feat: Cascader support multiple mode ( #31936 )
...
* chore: Update cascader version
* chore: replace cascader
* chore: default allowClear
* chore: Update docs
* test: Back of part
* test: More snapshot
* test: more and more
* test: Failed of defaultValue
* test: all basic test case
* test: All snapshot
* chore: Update cascader
* chore: disable react/jsx-no-bind
* chore: fix lint
* chore: fix less order
* chore: fix deps
* docs: Update multiple demo
* docs: Add multiple example
* test: Update snapshot
* test: update snapshot
2021-08-31 15:51:02 +08:00
Austaras
d86e1b5153
feat: InputNumber support addon ( #31432 )
...
* feat: InputNumber support addon
* docs: Update InputNumber doc
* chore: Update snapshot and fix lint
* chore: Add release version
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-08-31 13:09:03 +08:00
afc163
8416e31821
chore: resolve conflict between master and feature
2021-08-23 17:48:23 +08:00
xrkffgg
9aa9495fb1
test: up snap ( #31875 )
2021-08-23 15:19:44 +08:00
afc163
b56f6110fa
merge feature into master
2021-08-16 14:42:04 +08:00
afc163
f0163aa337
fix: Form label hide title on help icon and optional text ( #31785 )
...
close #31769
2021-08-13 17:06:30 +08:00
afc163
576da9d0ef
fix: Input clear icon margin lost ( #31745 )
...
close #31741
2021-08-10 19:21:02 +08:00
xrkffgg
d3405a9add
Merge pull request #31243 from ant-design/master
...
chore: sync master to feature
2021-07-04 20:00:59 +08:00
Pengsha Ying
846577b694
feat(Cascader): title attributes are added to the selected content text by default ( #31237 )
...
* update cascader snapshot
* feat(cascader): Add a friendlier title prompt to the label
2021-07-02 14:55:04 +08:00
wangao
7a10ed1e12
fix(FormItem): add name as default variables.label value ( #30179 )
...
* fix(FormItem): add name as default variables.label value
* test(Form.Item): add name as default test
2021-06-30 11:32:34 +08:00
二货机器人
93c33fbf93
fix: patch more style of errorList ( #30887 )
...
* fix: patch more style of errorList
* chore: Use className instead
* test: Update snapshot
* test: Update snapshot
2021-06-07 14:32:07 +08:00
二货机器人
7a3bf8287f
feat: Form rule
support warningOnly
that not block form submit ( #30829 )
...
* chore: bump rc-field-form
* docs: Demo driven
* refactor: Use event instead
* chore: collection logic update
* chore: clean up
* chore: show warning
* chore: warning no need required mark
* feat: warning example
* docs: mix error
* chore: tmp list
* chore: magic code
* chore: fix motion
* chore: fix style
* chore: clean up useless code
* chore: RM useless import
* chore: RM useless file
* test: Update snapshot
* chore: Should reset
* fix: Memo logic
* fix: Form basic test case
* fix: lint
* chore: back of ref
* test: Update snapshot
* test: RM ueseless test case
* chore: RM useless code
2021-06-04 14:44:41 +08:00
afc163
25549cd388
fix: Form Input prefix style in error status ( #30640 )
...
close https://github.com/ant-design/ant-design/issues/30629
2021-05-24 18:18:44 +08:00
afc163
077443696b
docs: fix Form requiredMark demo
...
close #29921
2021-03-28 16:22:00 +08:00
afc163
165477175d
chore: update Form and TreeSelect demo ( #29656 )
...
* chore: update Form and TreeSelect demo
* fix eslint
2021-03-08 18:06:49 +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
二货机器人
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
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
687b68b256
test: test driven
2021-01-19 11:51:13 +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
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
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
陈帅
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
偏右
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
偏右
39e37bf1b4
fix: Input[allowClear] className ( #27462 )
...
* fix: Input[allowClear] className missing
close #27444
* fix snapshot
2020-10-30 15:27:37 +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
偏右
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
偏右
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
zombiej
40c8fb8363
chore: merge master
2020-09-24 15:26:37 +08:00
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight ( #26849 )
2020-09-22 17:04:48 +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
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
二货机器人
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
二货机器人
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
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
偏右
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
偏右
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
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
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
二货机器人
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
偏右
8eb4e83535
test: ✅ increase test covarage ( #25857 )
...
* test: ✅ increase test covarage
* fix test case
2020-07-28 17:54:46 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 ( #25843 )
2020-07-27 22:32:21 +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
二货机器人
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
二货机器人
24abadd994
fix: preserve warning in Gorm.Item ( #25518 )
2020-07-08 23:43:26 +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
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
afc163
d2d8c67e5a
chore: update form demo
2020-07-03 11:25:34 +08:00
07akioni
7348baa6fb
fix: shouldn't set input-bg inside a error form item ( #25385 )
...
* fix: fix: shouldn't set input-bg inside a error form item
* chore
* test: update snapshots
* Update disabled-input-debug.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-07-02 22:16:15 +08:00
偏右
5b7104cc9d
fix: Form.Item hidden no working ( #25336 )
...
close #25335
2020-07-01 14:12:35 +08:00
07akioni
5c72186899
fix: InputNumber max prop has no default value ( #25243 )
...
* fix: InputNumber max prop has no default value
* docs: enUS ref links
* docs: typo fix
* test: snapshots
2020-06-29 11:07:56 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature
2020-06-28 20:06:37 +08:00
二货机器人
67513cc71b
fix: Select icon interactive ( #25212 )
...
* fix: Select icon interactive
* updat snasphot
2020-06-24 23:28:54 +08:00
偏右
da353e8199
docs: 📝 Add Form.Item hidden in doc ( #25108 )
...
close #25101
2020-06-19 14:03:16 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
...
chore: merge master into feature
2020-06-14 23:29:07 +08:00
二货机器人
0f46173410
fix: Form.validateTrigger not work ( #24979 )
...
* fix: Merged validateTrigger
* test case
2020-06-14 14:15:17 +08:00
二货机器人
ada59b9d37
fix: Field id ( #24929 )
2020-06-11 22:25:58 +08:00
zombiej
cbeecdc41f
merge master
2020-06-11 10:38:50 +08:00
二货机器人
a9a651ffd5
fix: Form List warning ( #24867 )
...
* fix: Form List warning
* clean reaf
2020-06-09 18:10:43 +08:00
二货机器人
e46d414b11
feat: form instance support getFieldInstance ( #24711 )
...
* support getFieldInstance
* update doc
* fix lint
* move func
* move into hooks
* update ref logic
* fix lint
* rm only
* fix docs
2020-06-05 18:06:52 +08:00
afc163
d6d485b72d
merge feature into master-to-merge-feature
2020-05-19 18:25:51 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion ( #24254 )
...
* init fix
* fix rtl
* clean up
* update snapshot
* fix style lint
* add motion of inner
* update un-checked focus style
2020-05-18 17:31:46 +08:00
afc163
53d7a20939
merge feature into master-to-merge-feature
2020-05-13 16:16:16 +08:00
afc163
50e33768a9
✅ fix DatePicker snapshot
2020-05-13 16:10:48 +08:00
afc163
fdcbfc909d
✅ fix snapshot
...
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip ( #24056 )
...
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
* feat: support custom cell ellipsis tooltip
* tests: update snapshots
* docs: update table ellipsis demo
* tests: update snap
2020-05-12 12:44:49 +08:00
二货机器人
72a846681a
chore: Fix Form.List render logic ( #24009 )
...
* update snapshot
* update nest logic
* clean up
2020-05-10 10:39:30 +08:00
二货机器人
2a0df4f465
fix: FormItem getValueProps warning ( #23875 )
2020-05-05 16:15:36 +08:00
二货机器人
e15773e25b
fix: Form.Item warning for initialValue ( #23846 )
...
* fix: Form.Item warning for initialValue
* Update index.test.js
* Update index.test.js
2020-05-04 12:13:44 +08:00
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined ( #23818 )
...
* fix placeholder
* add test case
* update snapshot
2020-05-02 21:55:23 +08:00
偏右
0b61b13e56
docs: 🆙 Upgrade input number ( #23742 )
...
* 🆙 upgrade to rc-input-number@4.6.0
* 🆙 upgrade to rc-input-number@4.6.1
* ✅ update snapshot
* fix version
2020-04-29 14:18:19 +08:00
二货机器人
02d7292576
fix: Input inline allowClear style ( #23259 )
...
* fix: Input allow clear icon
* update test case
* update snapshot
2020-04-14 23:04:23 +08:00
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
afc163
3f4f5864fe
✅ fix test case which fails a lot
2020-04-13 20:38:31 +08:00
afc163
b5dd56611b
test: fix form test case
2020-04-10 17:05:24 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style ( #23074 )
...
* adjust range color
* fix lint
* update color
* update dark logic
* adjust little of arrow
* use icon
* update font size
* update snashot
2020-04-09 13:18:13 +08:00
二货机器人
70eaea6978
clean up when field reset removed ( #23041 )
2020-04-08 18:47:59 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style ( #22847 )
...
* adjust rangepicker style
* update snapshot
* fix lint
* add aria label
2020-04-02 15:05:31 +08:00
xrkffgg
fd7e7d3695
style: optimization form rtl and demo ( #22621 )
2020-03-30 21:23:05 +08:00
zombiej
73562d878c
merge master
2020-03-27 13:12:37 +08:00
afc163
43de6f3db9
✅ fix test case
2020-03-27 12:26:57 +08:00
二货机器人
d0e182ea70
chore: Warning with defaultValue ( #22571 )
...
* add faq
* chore: Warning if Field with defaultValue
2020-03-24 22:23:40 +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
zombiej
bde335c761
merge master
2020-03-06 18:12:39 +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
afc163
c5e5a8c895
✅ update snapshots
2020-03-05 20:32:38 +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
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
zombiej
3f8d6cd4f0
merge feature
2020-02-24 13:10:29 +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
zombiej
9eab33e09b
merge master
2020-02-19 13:20:43 +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
二货机器人
3080611883
feat: Notification support hooks for context ( #21275 )
...
* use promise for getInstance
* passing hooks
* hooks support
* move hooks out of fiel
* adjust style
* update snapshot
* fix test & add test case
* update hooks test
* fix style lint
* update doc
* update demo desc & eslitn rules
* fix lint
* docs add faq
* fix less
2020-02-07 17:55:26 +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
二货机器人
0f1629b244
fix: Input suffix form validate error style ( #21121 )
...
* fix: Input suffix form validate error style
* update style
* update snapshot
2020-01-28 12:38:30 +08:00
二货机器人
ee6f63f2e1
chore: Fix TS define of FormItem ( #21067 )
2020-01-22 11:33:35 +08:00
二货机器人
77927cadd2
Merge pull request #21042 from ant-design/master
...
chore: merge master
2020-01-21 11:23:42 +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
李子瀚(Hans Lee)
1fb7407085
4.0 Form scrollToField: Pass options to form scrollToField ( #20774 )
...
* fix: form.scrollToField should accept options from scrollIntoView
* doc: Fixed wrong doc content
* doc: Fix docs pointing to scroll-into-view-if-needed
2020-01-14 22:50:49 +08:00
二货机器人
7a3cf0b93e
fix: help will shake in Form ( #20886 )
2020-01-14 14:45:22 +08:00
二货机器人
40d9627554
chore: Warning when FormItem use render props and name at same time ( #20733 )
2020-01-07 19:17:51 +08:00
二货机器人
5c8cec5512
fix: Form validate should keep refresh ( #20725 )
...
* fix: Form error should not keep cache when errors changed
* add test case
2020-01-07 16:20:18 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
...
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
2020-01-03 15:20:28 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
...
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
2020-01-03 13:38:16 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
...
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
2020-01-02 21:21:57 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +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
二货机器人
5f7ca16ed5
docs: Update form demo to remove defaultValue ( #20524 )
...
* docs: Update form demo to remove defaultValue
* update demo
* update styl
* add missing content
* update snapshot
2019-12-30 14:53:47 +08:00
二货机器人
e3126ab20d
chore: Add warning when use remove function ( #20527 )
2019-12-30 12:13:58 +08:00
二货机器人
1636f6107e
fix: FormItem errors should show in diff line ( #20512 )
2019-12-28 14:53:43 +08:00
偏右
31b1bf7272
Merge pull request #20492 from ant-design/add-form-demo
...
docs: Add form demo
2019-12-27 17:36:09 +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