叶枫
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
MadCcc
924f46fd88
feat: form support variant ( #46573 )
2023-12-22 10:05:15 +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
二货爱吃白萝卜
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
thinkasany
f78f7bfef9
chore(form): code style optimization ( #43793 )
...
* chore(form): code style optimization
* fix: add type CSSMotionProps
* Update ErrorList.tsx
* Update FormItemLabel.tsx
* Update FormItemLabel.tsx
2023-07-25 19:47:05 +08:00
二货爱吃白萝卜
96a93260d3
refactor: split form context ( #43023 )
2023-06-15 10:26:56 +08:00
二货爱吃白萝卜
765cafb2cd
refactor: ConfigProvider form dependency inversion ( #42604 )
...
* refactor: dependency inversion
* chore: use rc-util
2023-05-25 19:58:07 +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
JiaQi
b73b37eee9
feat(Form.Item): useStatus supports get error messages and warning messages ( #41554 )
...
* feat: useStatus supports get error messages
* feat: useStatus supports get warning messages
* chore: update example
* chore: add test case
2023-03-31 11:42:34 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
...
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
2022-06-06 23:39:00 +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
二货机器人
beeaf2d221
docs: More info about useWatch ( #35039 )
...
* docs: more about useWatch
* test: Update test case
* docs: more info
* docs: more & more
* feat: add useFormInstance
* chore: add version info
2022-04-15 15:51:09 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
...
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
2022-03-24 21:54:20 +08:00
MadCcc
4c666f5775
fix: clear status in input addon ( #34412 )
2022-03-10 19:04:51 +08:00
MadCcc
37e042358d
feat: Input support status ( #33995 )
...
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
2022-02-14 17:09:35 +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
二货机器人
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
zombiej
9a01c9ea0b
fix: name connect
2021-01-19 11:53:44 +08:00
二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +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
二货机器人
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
二货机器人
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
zombieJ
779bc5f56a
rename ( #17729 )
2019-07-19 14:07:39 +08:00
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
...
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
2019-07-03 20:14:39 +08:00