muzea
126bb42ddd
remove deprecated prop
7 years ago
muzea
2ce3ffd6f4
fix punctuation
7 years ago
muzea
904fd0a358
form add how to get wrappedComponent's ref
7 years ago
afc163
713a0bcdc5
update snapshot
7 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
Walter Barbagallo
963120f702
Improved Form component typings ( #10564 )
* Improved Form component typings
With this fix you can use HTMLFormElement attributes on Form component
without getting TypeScript errors.
For example this code does not longer produce error for the additional
`autoComplete` prop:
```
const myForm = (
<Form autoComplete="off">
...
</Form>
)
```
* Fix onBlur / onChange typings with Input component
This improvement fix a typing issue incompatibility with
`react-final-form`
The incompatibility involve [this
line](https://github.com/final-form/react-final-form/blob/v3.4.2/src/index.d.ts#L20 )
where the handler argument is a more specific SyntheticEvent
7 years ago
jiang
9e01b24272
fix 10445 ( #10457 )
* fix 10445
* re help anim timing
* refactor
* use this.helpShow
* is show no set state
* remove state.helpShow
7 years ago
konakona
6c0d6d302a
Add feature: can use type ReactNode for message of rules ( #10136 ) ( #10395 )
* Add feature: can use type ReactNode for message of rules (#10136 )
* fix: Replace React.Fragment to span
* Add unit test for Form (Not passed)
* fix: unit test of Form
* fix: unit test of Form & remove demo
* fix: update unit test for Form
* Refine code for Form
* Add error check for getHelpMessage
7 years ago
afc163
d95379cfa5
Fix broken style of Input with addons, close #10371
7 years ago
paranoidjk
b6f8ab89c7
Fix: Form tsd ( #10324 )
* Fix(form): wrappedComponentRef interface
- ref: https://github.com/react-component/form/blob/master/src/createBaseForm.js#L499
* refactor: use ts conditional type
* fix: merge
* Revert "refactor: use ts conditional type"
This reverts commit ab3035da83
.
7 years ago
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
* chore: upgrade menu and select
* Add test case for coverage percent
7 years ago
afc163
3d079af7cd
Fix Input.Group align issue in Form, close #10281
7 years ago
Wu Haotian
4ea20e696c
fix(form): fix typing for `Form.onValuesChange` ( #10231 )
7 years ago
Wei Zhu
61e4f8011a
Remove sCU from Form ( #10029 )
Related #9790
Form and Form.Item are not considered as pure components
7 years ago
afc163
61502ef942
Fix form demo error in IE9
7 years ago
Ed Moore
31e50e50b6
Fix types ( #10063 )
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
7 years ago
Wei Zhu
82b721a432
Extend CardProps from native div element attributes
Close #9933
7 years ago
Wei Zhu
2a5479a524
Fix type errors
Close #9988
7 years ago
ddcat1115
a402fdd8b3
fix #9907 ( #9908 )
* fix #9907
* update snapshot
7 years ago
André
245e1cf3d0
Minor typo ( #9922 )
Fixes minor typo
7 years ago
pellea
b61f4c1ad3
fix code sample in the Form component doc (issue #9591 ) ( #9705 )
* fix code sample in the Form component doc (issue #9591 )
* fix wrong space indent
* add trailing comma
7 years ago
Benjy Cui
9d7d70becd
docs: should not use ref for wrapped form, close : #9598 ( #9685 )
7 years ago
jiang
76994bd772
Remove Form Item help transition, fix #8831 ( #9675 )
* fix #8831
* remove help transition
7 years ago
VTHINKXIE
0070628fa8
style(module:form): narrow css selector ( #9648 )
7 years ago
afc163
4f1f5fd152
update form demo style
7 years ago
afc163
7d3573d471
use more clear function name, close #9465
7 years ago
Wei Zhu
aa9b7a4e4d
Update snapshot
7 years ago
valleykid
eab4fdfe95
Update snapshot
7 years ago
Wei Zhu
dc439bd7c3
Remove generic type from ComponentDecorator, fix #9331
7 years ago
afc163
e3f115dd3d
update snapshot
7 years ago
afc163
1ae7da3878
Fix hasFeedback icon position in vertical form layout
close #9153 and #9309
7 years ago
afc163
9f2b4905f0
Fix AutoComplete border color in form
7 years ago
niko
f2ba99978d
upgrade snapshots ( #9127 )
7 years ago
afc163
b3f31216df
Fix #9103 , ref #7351
7 years ago
mgrdevport
cfdb1cab4b
Pass id prop to DatePicker input field ( #8598 )
7 years ago
Wei Zhu
4332613633
Revert "Pass id prop to DatePicker input field ( #8598 )"
This reverts commit 38bf0be4ab
.
7 years ago
mgrdevport
38bf0be4ab
Pass id prop to DatePicker input field ( #8598 )
7 years ago
afc163
84a177af43
remove extra space in classname
7 years ago
afc163
d4844bbaf8
tweak input group align in form item
7 years ago
afc163
314345cf8c
Fix Form[layout=vertical] style
7 years ago
Wei Zhu
33119ec535
Update form type
Close #8935
7 years ago
afc163
3973d245b9
remove unused form control font-size reset
7 years ago
Wei Zhu
999d6184ad
docs: Sort api table
7 years ago
afc163
e1cea9e4e4
Tweak form feedback icon position
7 years ago
徐坤龙
b06ea2404f
Add React.SFC type for Form.create return value #8672 ( #8675 )
* Add React.SFC type for Form.create return value
* Restore indented.Fixed #8672
* Commit for lint
* Commit for lint
7 years ago
afc163
24f0359e2d
Fix some form components align
7 years ago
afc163
525efb8c76
Fix form item height problem
close #8701
revert fix of #6097 cause it does not exist in 3.x
7 years ago
Wei Zhu
9a022b8aac
docs: Update FormComponentProps import path
7 years ago
Benjy Cui
df1c56ee18
docs: update docs
7 years ago