Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
黑雨
b0a652580a
feat: Form disabled ( #35210 )
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
3 years ago
zombiej
61a6083adf
docs: Update useWatch docs
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
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
3 years ago
二货机器人
b62e409ad5
feat: Form support useWatch ( #35036 )
* feat: Support useWatch
* test: update test case
* chore: update snapshot
3 years ago
afc163
77b6a86656
fix: Form layout span 24 usage in responsive mode ( #34907 )
close #34903
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
3 years ago
MadCcc
ed651f450d
fix: missing status style for RangePicker ( #34509 )
* fix: range picker should has status style
* chore: code clean
* chore: code clean
* chore: code clean
3 years ago
afc163
386ede9297
fix: Form layout when Select has long text ( #34117 )
* fix: Form layout when Select has long text
close #33773
* chore: update snapshot
3 years ago
MadCcc
533bc8740a
feat: cascader support status ( #34086 )
* feat: cascader support status
* chore: code clean
* chore: raise bundle size limitation
* chore: code clean
3 years ago
MadCcc
65bf6550b1
feat: mentions support status ( #34071 )
* test: skip form deps-lint
* perf: remove useless has-feedback classname
* test: raise test coverage
* style: recover import arrangement
3 years ago
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
3 years ago
afc163
e7f23592bc
feat: support Form labelWrap ( #33048 )
* feat: form label can be wrap
* fix api doc
* fix ts
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
37442ae0d5
fix: Form layout span 24 usage ( #32981 )
close #32980
3 years ago
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
3 years ago
afc163
5360722e5c
chore: update form demo
3 years ago
二货机器人
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
3 years ago
WeijieChen
4d9b6dc74e
docs: form register demo add textarea item ( #32669 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
afc163
d361537748
fix: Mentions error style in Form ( #32385 )
3 years ago
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>
3 years ago
Han Han
c9bf113b39
chore: fix form demo ( #31871 )
子节点的值的属性,如 Switch 的是 'checked'。
3 years ago
afc163
5306d5b614
fix: Form label ellipsis should work ( #31838 )
3 years ago
afc163
c671b4e3f1
fix: Input.Password border color ( #30999 )
* chore: form demo style
* fix: Input.Password hover border color in Form
3 years ago
afc163
2142180090
fix: form control-ref.md typescript error ( #30885 )
https://github.com/ant-design/ant-design/pull/30829#issuecomment-855211477
4 years ago
二货机器人
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
4 years ago
afc163
25549cd388
fix: Form Input prefix style in error status ( #30640 )
close https://github.com/ant-design/ant-design/issues/30629
4 years ago
琚致远
2c68352367
docs: fix typo on the normal-login page ( #30132 )
* fix: fix typo on the normal-login page
* Update advanced-search.md
* Update form-in-modal.md
4 years ago
afc163
077443696b
docs: fix Form requiredMark demo
close #29921
4 years ago
yaoweiprc
ed37b80d11
docs: Update dynamic-form-items.md ( #29807 )
* Update dynamic-form-items.md
原来的代码只有在使用Space包裹多个Form.Item的时候可以跑起来,如果把Space换成div或者其它组件,点击Add Field之后,因为多个Form.Item 通过 {...restField} 指定了相同的key,浏览器会报 Encountered two children with the same key, `0`. Keys should be unique so that components maintain their identity across updates.
换成这种restField的写法可以避免这个问题,让不使用Space包裹多个Form.Item的场景也能跑通不报错。
* Update components/form/demo/dynamic-form-items.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
afc163
165477175d
chore: update Form and TreeSelect demo ( #29656 )
* chore: update Form and TreeSelect demo
* fix eslint
4 years ago
limingxin
d719f16487
docs: update link ( #29558 )
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
4 years ago
arange
d372028476
docs: Update complex-form-control.md ( #28311 )
Fixing some typos and grammar issues.
4 years ago
陈帅
4f811cbe82
docs: add a little pro-compents advertising ( #28043 )
* docs: add a little pro-compents advertising
* docs: add a little pro-compents advertising
4 years ago
Shivam Modi
3d04e5d3fb
docs: fixed nested ternary operator in Form ( #27724 )
4 years ago
Shivam Modi
5818fdb1a2
fix Specific Note for option other for Gender in Form ( #27704 )
4 years ago
Muhammad Sameer
87dfa411bc
docs: Update nest-messages.md ( #27620 )
Fixed grammatical errors.
4 years ago
Tom Xu
0822ac618f
chore: add prettier ignore and format demo ( #27270 )
4 years ago
afc163
f80828bfd6
docs: 🎬 refactor Form demo code
4 years ago
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight ( #26849 )
4 years ago
Tom Xu
dcdb8f5587
docs: improve from list ( #26813 )
4 years ago
Régis Foucault
e849c94b48
docs: 📝 fix typo in complex-form-control.md ( #26771 )
4 years ago
二货机器人
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
4 years ago
Régis Foucault
bb11f82ed2
docs: 📝 fix typo in complex-form-control.md ( #26771 )
4 years ago