偏右
db1383ca58
🐛 Fix Form forwardRef ts error ( #21483 )
https://github.com/ant-design/ant-design/pull/21482#issuecomment-588642994
5 years ago
二货机器人
9f26e7a85e
fix: Form item has default height align with form size ( #21476 )
* fix: Form item has default height align with form size
* fix lint
* update snapshot
5 years ago
二货机器人
aa6ccda4ba
feat: Form support scrollToFirstError ( #21462 )
* feat: add scrollToFirstError support
* add test case
* clean up
* coverage
* feat: add scrollToFirstError support
* add test case
* clean up
* coverage
* update docs
5 years ago
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
5 years ago
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
5 years ago
叶枫
6bb5e4ea3d
feat: export interface ( #20121 )
* Update Form.tsx
* Update Form.tsx
* feat: add export
5 years ago
afc163
760853e239
💄 eslint for all
5 years ago
afc163
5e99ed7bbe
✅ Fix eslint warnings
5 years ago
jeessy2
a57a2f754d
Update Form typescript definition ( #17652 )
5 years ago
lixiaoyang1992
4e804bd466
feat(Form): upgrade setFieldsValue function declaration
5 years ago
zombieJ
b3a76c14ca
feat: Form support `scrollToField` ( #17457 )
* support scroll & label htmlFor
* update snapshot
* add test case
* doc update
* add decleare
* adjust logic of label id
* clean ts error
5 years ago
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
5 years ago
afc163
32132c58cf
🐛 Fix Form onSubmit type
close #17400
5 years ago
afc163
4c84c41da0
🐛 Revert Form type `unknown` to `any`
close #17245
6 years ago
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo ( #17247 )
* update bisheng
* support lang panel
* display tabs if multiple lang
* rm tmp file
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
SylvanasGone
a19a500970
fix(Form): improve method onFieldsChange params type defs ( #16577 )
6 years ago
Victor Repkow
611909514c
fix(forms): improve field error method type defs
Change `getFieldError` and `getFieldsError` to return actual types, instead of very restrictive `Object` type (which should be avoided in general, in favour of `unknown`, `object`, or `Record` depending on actual use).
6 years ago
Sebastian Busch
5ce2f89adc
Form onFieldsChange(): document third parameter "allFields", remove non-existent fourth parameter "add" from TypeScript definition ( #16343 )
* there is no fourth parameter, added by mistake in 619b0ed628
* Form onFieldsChange(): document third parameter 'allFields', introduced in 619b0ed628
6 years ago
zombieJ
da9cef91b8
fix: Form with forwardRef typescript ( #16242 )
* update form typescript define with forawardRef
* add ts test
6 years ago
zombieJ
fdcfabfa78
fix: form typescript definition ( #16126 )
* use redux-react ts define
* update doc
* follow origin rule
6 years ago
zombieJ
ae101a2056
fix: labelAlign should work in Form.Item ( #16072 )
* labelAlign should work in Form.Item
* add Form & Form.Item
* rename type
6 years ago
Wei Zhu
d1f64b1bc9
Add generic type to form values
6 years ago
DiamondYuan
c8ba4da309
docs: add since comment for FormProps
6 years ago
DiamondYuan
5b162897a8
feat: support props colon of Form
6 years ago
yoyo837
5281d7b7f2
add labelAlign for Form and FormItem
6 years ago
zombieJ
2f6b367137
fix form warning ( #15160 )
* fix form warning
* update snapshot
6 years ago
zombieJ
4d1a998246
add component param in warning ( #15078 )
* add component param in warning
* update snapshot
6 years ago
zombieJ
1fc8dd3042
Form support `labelCol` & `wrapperCol` props. ( #15038 )
* use context
* update doc
* update doc
* not pass context if nest
* update snapshot
* update doc
* update doc
6 years ago
RunningCoderLee
86e0431f9b
fix: make all the properties in the ValidateFieldsOptions typing optional
6 years ago
RunningCoderLee
71503751a2
add ValidateFieldsOptions typing for validateFields
6 years ago
Bora Ikizoglu
3e85e51b58
Fixed Form.create missing type ( #14584 )
6 years ago
zombiej
f5cbf0f9f1
update getFieldsValue types
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
j3l11234
95cf9f3e48
Update rc-form requirement from ~2.2.7 to ~2.4.0 ( #13788 )
& and preserve option
6 years ago
zombiej
f65fb2867f
add options.preserve of form
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
TomIsion
4d486416bf
change Form typescript define about async callback order
6 years ago
zombiej
03b198775a
close #12221 . Adjust form validateFields type
6 years ago
newraina
f8408510a6
fix form onFieldsChange param type ( #12185 )
6 years ago
Tomás Francisco
7d38f8f435
improve form types and docs ( #11932 )
6 years ago
Nikolay
7bf50c85e1
Update Form.tsx
6 years ago
Nikolay
563e349946
add strict mode for submit object property names
This feature adds a posibility to validate property names in TypeScript by inserting required object interface.
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Lucien Lee
7c43bc553f
change message type to React.ReactNode
6 years ago
Lucien Lee
6606aad391
allow validator message as ReactChild
6 years ago
Sebastian Busch
ee0a7ce3bb
Form: add missing type definition for form create option validateMessages
(Docs for validateMessages had been added in rev 16133aac65
)
7 years ago
Sebastian Busch
619b0ed628
add type definition for missing third parameter "allFields" to onFieldsChange (introduced
(_Implementation_ of this parameter had been added in 16133aac65
)
7 years ago