ant-design/components/form/demo
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
..
advanced-search.md demo: form advanced-search beautification style (#40180) 2023-01-12 10:15:40 +08:00
advanced-search.tsx chore: remove useless any & add CSSProperties type (#43921) 2023-08-01 01:26:41 +08:00
basic.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
basic.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
col-24-debug.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
col-24-debug.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
complex-form-control.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
complex-form-control.tsx demo: fix Deprecated usage in form demo (#41860) 2023-04-19 11:56:15 +08:00
component-token.md feat: migrate less to token for Form (#42774) 2023-08-22 17:05:56 +08:00
component-token.tsx feat: add inlineMargin token support form inline layout (#48362) 2024-04-17 12:09:08 +08:00
control-hooks.md demo: remove form ref usage from demo (#46046) 2023-11-23 20:21:10 +08:00
control-hooks.tsx chore: fix form demo style (#46156) 2023-11-29 20:19:49 +08:00
custom-feedback-icons.md feat: custom feedback icons (#43894) 2023-09-04 20:36:45 +08:00
custom-feedback-icons.tsx chore: add lodash eslint (#45627) 2023-11-02 15:10:56 +08:00
customized-form-controls.md feat(form): improve scrollToField logic (#48211) 2024-04-17 17:56:29 +08:00
customized-form-controls.tsx feat(form): improve scrollToField logic (#48211) 2024-04-17 17:56:29 +08:00
dependencies.md docs: Update batch of docs & demos (#44509) 2023-08-29 18:47:41 +08:00
dependencies.tsx docs: Update batch of docs & demos (#44509) 2023-08-29 18:47:41 +08:00
disabled-input-debug.md demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
disabled-input-debug.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
disabled.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
disabled.tsx fix: Upload accessibility experience (#46432) 2023-12-30 15:21:52 +08:00
dynamic-form-item.md demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
dynamic-form-item.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
dynamic-form-items-complex.md docs: Update batch of docs & demos (#44509) 2023-08-29 18:47:41 +08:00
dynamic-form-items-complex.tsx docs: Update batch of docs & demos (#44509) 2023-08-29 18:47:41 +08:00
dynamic-form-items-no-style.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
dynamic-form-items-no-style.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
dynamic-form-items.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
dynamic-form-items.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
dynamic-rule.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
dynamic-rule.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
form-context.md demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
form-context.tsx chore: Add type util (#46923) 2024-01-11 15:55:58 +08:00
form-in-modal.md demo: a better Form usage inside Modal (#47574) 2024-03-02 01:11:00 +08:00
form-in-modal.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
form-item-path.md docs: Add Form prefix demo (#39580) 2022-12-15 16:01:52 +08:00
form-item-path.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
global-state.md demo: form global-state demo supports dark mode (#40143) 2023-01-11 10:40:35 +08:00
global-state.tsx demo: form global-state demo supports dark mode (#40143) 2023-01-11 10:40:35 +08:00
inline-login.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
inline-login.tsx chore: fix form demo error (#44549) 2023-08-31 21:23:02 +08:00
label-debug.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
label-debug.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
layout-can-wrap.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
layout-can-wrap.tsx chore: fix lint (#43873) 2023-07-28 16:17:43 +08:00
layout.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
layout.tsx chore: fix lint (#43873) 2023-07-28 16:17:43 +08:00
nest-messages.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
nest-messages.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
normal-login.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
normal-login.tsx docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
ref-item.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
ref-item.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
register.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
register.tsx chore: fix lint (#43873) 2023-07-28 16:17:43 +08:00
required-mark.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
required-mark.tsx feat: Form requiredMark support renderProps (#44073) 2023-08-07 15:11:06 +08:00
size.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
size.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
time-related-controls.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
time-related-controls.tsx demo: update demo (#40318) 2023-01-19 15:37:54 +08:00
useWatch.md docs: update all site anchors (#39687) 2022-12-22 14:12:26 +08:00
useWatch.tsx feat: support selector (#46180) 2023-11-30 17:34:50 +08:00
validate-only.md feat: Form support validateOnly (#42273) 2023-05-11 15:43:00 +08:00
validate-only.tsx demo: demo update (#47551) 2024-02-23 11:01:56 +08:00
validate-other.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
validate-other.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
validate-scroll-to-field.md feat(form): improve scrollToField logic (#48211) 2024-04-17 17:56:29 +08:00
validate-scroll-to-field.tsx feat(form): improve scrollToField logic (#48211) 2024-04-17 17:56:29 +08:00
validate-static.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
validate-static.tsx feat: Input.OTP component support (#48076) 2024-03-28 14:05:58 +08:00
validate-trigger.md feat: Form validation support validateDebounce (#44633) 2023-09-05 19:52:06 +08:00
validate-trigger.tsx feat: Form validation support validateDebounce (#44633) 2023-09-05 19:52:06 +08:00
variant.md feat: form support variant (#46573) 2023-12-22 10:05:15 +08:00
variant.tsx feat: form support variant (#46573) 2023-12-22 10:05:15 +08:00
warning-only.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
warning-only.tsx docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
without-form-create.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
without-form-create.tsx feat: tsconfig enable strict (#47998) 2024-04-01 15:49:45 +08:00