zombiej
42bc6dcdef
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-16 10:40:55 +08:00
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." ( #33312 )
...
* Revert "fix: TextArea missing maxLength attribute (#32448 )"
This reverts commit ee703c187e
.
* fix: snapshot
2021-12-15 21:36:36 +08:00
James
34dbf5f0a2
fix: Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug ( #31846 )
...
* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug
* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug
* fixed lint issues.
* change: add black list for form item name
* keep the definition the same as before
* update snapshot
* change formItemNameBlackList type to array
* add test case for form item is in black list
* add test condition
* prettier it
* change: add black list for form item name
* keep the definition the same as before
* merege from upstream
* rebase this branch
* change formItemNameBlackList type to array
* add test case for form item is in black list
* add test condition
* prettier it
* fix test case that casing by rebase
2021-12-12 14:58:49 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
...
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
afc163
e7f23592bc
feat: support Form labelWrap ( #33048 )
...
* feat: form label can be wrap
* fix api doc
* fix ts
2021-11-26 18:15:59 +08:00
zombiej
24ec3ba662
chore: merge master
2021-11-26 10:15:39 +08:00
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