Commit Graph

291 Commits

Author SHA1 Message Date
Fane
2e2d766d95
docs(Form): supplement the documentation of Form (#50223)
* docs: 对Form组件的文档做补充

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Fane <141594291+FanetheDivine@users.noreply.github.com>

---------

Signed-off-by: Fane <141594291+FanetheDivine@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 00:54:07 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx (#50013)
* docs: unify component export file as index.tsx

* docs: compatible with old anchors

* chore: clean

* test: update snapshot

* fix: window env

---------

Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
afc163
43dca4875d
demo: refactor form login demo (#50010)
* demo: refactor form login demo

* demo: refactor form login demo

* remove site-form-item-icon
2024-07-22 20:45:30 +08:00
ice
f1699d3788
docs: dead anchor (#49897) 2024-07-16 13:51:45 +08:00
thinkasany
a29054923a
docs(form): Modify the interface title level (#49273) 2024-06-06 12:27:09 +08:00
叶枫
e02f74233b
fix: form layout doc (#49206) 2024-06-04 09:57:52 +08:00
叶枫
ab7ac623cb
docs: 5.18 (#49159) 2024-05-31 17:20:12 +08:00
叶枫
5932005ce4
Form.Item support layout (#49119)
* feat: FormItem support layout

* feat: doc

* feat: test

* feat: test

* feat: test

* feat: test

* feat: itemPrefixCls
2024-05-31 10:50:47 +08:00
github-actions[bot]
d4c5cb66de
chore: auto merge branches (#49137)
chore: feature merge master
2024-05-30 10:45:03 +00:00
叶枫
54286673de
docs: add getValueProps demo (#49072)
* docs: add getValueProps demo

* feat: normalize

* feat: normalize

* feat: name

* feat: name

* feat: doc

* feat: date

* feat: tz

* feat: tz
2024-05-28 22:54:54 +08:00
叶枫
f912fa0c30
Form support clearOnDestroy (#48921)
* feat: form support clearOnDestroy

* feat: demo

* feat: demo
2024-05-14 17:35:11 +08:00
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
vagusX
7c23e51400
docs: fix wrong anchor for form#dependencies (#48570)
* docs: fix wrong anchor for form#dependencies

* test: update snapshot

* scripts: add new badcases to reporter

* scripts: added one

* scripts: copy new added imgs

* scripts: fix filename

* scripts: fix path

* scripts: fix src and dest
2024-04-23 15:50:48 +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
叶枫
9b72caf77e
feat: up form (#48486) 2024-04-17 15:54:42 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
二货爱吃白萝卜
1d8f4235cb
Merge pull request #46798 from ant-design/master
chore: feature merge master
2024-01-04 20:44:01 +08:00
Shunze Chen
aae661b176
docs: supplement form preserve field description (#46788)
close https://github.com/ant-design/ant-design/issues/46773
2024-01-04 13:50:45 +08:00
lijianan
8f2a438c4a
Merge branch 'feature' into master-merge-feature 2023-12-23 02:54:15 +08:00
MadCcc
924f46fd88
feat: form support variant (#46573) 2023-12-22 10:05:15 +08:00
Long Hao (龙濠)
ce28f36adb
docs: Update FormItem getValueProps desc (#46485)
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2023-12-19 13:53:36 +08:00
叶枫
4272d0c547
docs: remove callback doc (#46452) 2023-12-14 17:23:55 +08:00
叶枫
f5e0408649
feat: support selector (#46180)
* feat: support selector

* fix: ts text

* feat: md

* feat: snap
2023-11-30 17:34:50 +08:00
afc163
9f9f64eebd
demo: remove form ref usage from demo (#46046) 2023-11-23 20:21:10 +08:00
二货爱吃白萝卜
3ab42ad0db
feat: support dirty (#45389) 2023-10-17 20:45:05 +08:00
二货爱吃白萝卜
7e1ecf9133
docs: add faq (#45016) 2023-09-22 13:41:36 +08:00
lijianan
95974ae9e4
docs: update feedbackIcons docs (#44966)
* docs: update feedbackIcons docs

* fix: fix
2023-09-20 14:23:32 +08:00
二货爱吃白萝卜
ee8cf22aa6
feat: Form validation support validateDebounce (#44633)
* chore: bump rc-field-form

* docs: add debounce demo

* docs: update demo

* test: update snapshot

* docs: typo
2023-09-05 19:52:06 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
Gunay
46341b115c
feat: custom feedback icons (#43894)
* custom feedback icons initial

(cherry picked from commit 22e43ad0357ea5294baf6eda659c900b1ab170f1)

* tests added and snaps updated

* Revert "tests added and snaps updated"

This reverts commit 13b57be30c73b870e382efadafe1e48ff692d54f.

* unittest and documentation changes

* feedback items could be turn off

* documentation fix

* move feedback icons object into the hasFeedback prop

* feedbackIcons added to the form element

* test: commit trigger

* fix: failed form test

* snaps updated

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>

* Update components/form/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>

* Update components/form/demo/custom-feedback-icons.md

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/form/demo/custom-feedback-icons.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: Gunay <gladio@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-04 20:36:45 +08:00
二货爱吃白萝卜
c7a09284d4
docs: add faq about valuePropName (#44609)
* docs: add faq about valuePropName

* docs: more info

* docs: clean up
2023-09-04 14:10:39 +08:00
二货爱吃白萝卜
0396899ff6
fix: Form.Item noStyle support validation status (#44576)
* fix: FormItem.useStatus can not get status

* fix: noStyle not patch style

* fix: noStyle inhreit logic

* docs: update docs

* test: add test case

* refactor: nostyle block status

* fix: coverage
2023-09-04 10:03:12 +08:00
yoyo837
ad46da1697 Merge branch 'master' into feature-merge-master 2023-09-03 00:22:34 +08:00
Konv Suu
41ef050cb5
chore: typo (#44579)
update
2023-09-01 23:39:56 +08:00
栗嘉男
b12d69cf42 chore: merge master into feature 2023-09-01 00:02:50 +08:00
Serene Ding
b0f0975a4a
docs: update form docs description (#44548)
* Update index.zh-CN.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* add quotes 

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update components/form/index.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update components/form/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: Serene Ding <sereneding123@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-08-31 23:01:51 +08:00
二货机器人
620e168cfc chore: feature merge master 2023-08-29 19:51:31 +08:00
二货爱吃白萝卜
8d7dd80120
docs: Update batch of docs & demos (#44509)
* docs: update select opt

* docs: update form deps demo

* docs: upload onChange

* docs: update form nest Form.List demo
2023-08-29 18:47:41 +08:00
dingkang
477b1ec2f3
feat: migrate less to token for Form (#42774)
* docs: migrate less to token for Form

* feat:  migrate less to token for Form

* feat: migrate less to token for Form

* test: update form snapshots

* feat: migrate less to token for Form

* chore: code clean

* chore: code clean

* feat: form token

* chore: add comment

* chore: update docs

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 17:05:56 +08:00
github-actions[bot]
0a4463e68a
chore: auto merge branches (#44202)
chore: feature merge master
2023-08-14 06:19:20 +00:00
二货爱吃白萝卜
72b449a1a4
docs: update faq (#44198)
* docs: update faq

* chore: update lint

* chore: update lint

* chore: use returnType
2023-08-14 13:32:57 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
二货爱吃白萝卜
1a86204053
feat: Form validateFields support recursive (#44130) 2023-08-09 16:35:19 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
github-actions[bot]
bd54d4e11a
chore: auto merge branches (#44085)
chore: feature merge master
2023-08-07 12:52:18 +00:00
二货爱吃白萝卜
5e9ef6803b
feat: Form requiredMark support renderProps (#44073)
* feat: Form requiredMark support renderProps

* test: add test case

* test: update snapshot
2023-08-07 15:11:06 +08:00
二货爱吃白萝卜
9427c264f4
docs: misc update (#44034)
* docs: misc update

* docs: update

* docs: update

* docs: update

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-07 10:42:15 +08:00
二货爱吃白萝卜
b3ccc46ebe
feat: form support strict (#43828) 2023-07-27 09:56:05 +08:00
xliez
48becf9cb1
docs(form): update faq for scrollToFirstError (#43640)
* docs(form): update faq for scrollToFirstError

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: xliez <xliez@foxmail.com>

---------

Signed-off-by: xliez <xliez@foxmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-19 11:23:13 +08:00
二货爱吃白萝卜
9fdf12ea47
docs: add getFieldsValue faq (#43405) 2023-07-06 17:51:38 +08:00