aojunhao123
0c901c7f0c
fix: prefer using the name passed in the FormItemContext ( #54206 )
...
* fix: prefer using the name passed in the FormContext
* update snapshot
* update
* update
* update
* udpate test case
* convert formitem name to html attr
* update
2025-07-07 11:28:47 +08:00
𝑾𝒖𝒙𝒉
61d4a3c18b
fix(Form.focusField): improve focus logic ( #52726 )
...
(cherry picked from commit c4de3540e8b36b7a7ed29ac686dcf9fc7d1db1e9)
fix(Form.focusField): improve focus logic
# Conflicts:
# components/form/Form.tsx
(cherry picked from commit d1613c3f25179e7ca105e43d328630eb1bfbe9e7)
docs: update
(cherry picked from commit d4d28b34de
)
(cherry picked from commit 84e788555c241bdb4a0a044fac8e0541f119b503)
chore: update docs
(cherry picked from commit ae3444b64eb9d2a25c8eeddb535ccb9d11d7d8a3)
test: add unit test
(cherry picked from commit 1e794f9d46fc6e45940ebc6b5f8407a8a4d49f7a)
chore: update
docs: update
chore: fix
chore: update
2025-02-11 10:20:26 +08:00
NathanLao
1d76fe94fa
feat: focus on the first field with error in form validation ( #51231 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-10-15 16:24:27 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
红
baef247630
refactor: improve the acquisition of dom logic ( #48989 )
...
* deps: bump rc-util to 5.41.0
* refactor: improve the acquisition of dom logic
* test: add unit test
2024-05-20 19:41:30 +08:00
红
9965d96259
feat(form): improve scrollToField logic ( #48211 )
...
* feat(form): improve scrollToField logic
* docs: update form faq
* test: add unit test
* fix: boundary error
* style: update code
ref: https://github.com/ant-design/ant-design/pull/48211#discussion_r1547535631
ref: https://github.com/ant-design/ant-design/pull/48211#issuecomment-2031635922
* docs: add scrolltofield demo
* chore: update snapshot
* Update components/form/demo/validate-scroll2field.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore: update demo
* chore: update logic
* chore: update snapshot
* Update components/form/demo/validate-scroll-to-field.tsx
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore: update demo
* chore: update snap
* chore: update
* chore: update demo
* chore: update
* chore: update docs
* chore: update
* chore: update snap
* Update components/form/demo/validate-scroll-to-field.tsx
Co-authored-by: crazyair <crazyair@users.noreply.github.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore:update logic
* test: add unit test
ref: https://github.com/ant-design/ant-design/issues/28869
* chore: update demo
* test: update snap
* chore: update demo
* chore: update
* chore: update
* chore: fix TS type
* chore: update demo fix layout
* chore: update demo
---------
Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-17 17:56:29 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
renovate[bot]
a2305aa291
chore(deps): update dependency scroll-into-view-if-needed to v3 ( #39230 )
...
* chore(deps): update dependency scroll-into-view-if-needed to v3
* fix: ts error
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-12-07 13:56:18 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2022-09-30 14:26:41 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
qqabcv520
47dfa1f2ca
fix: fix type declaration ( #30776 )
2021-06-03 09:36:04 +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
二货机器人
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
二货机器人
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