HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
HeskeyBaozi
af11401d33
upgrade svg
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
HeskeyBaozi
c3816d2859
align validating icon with input suffix icon
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
6 years ago
HeskeyBaozi
049ce5c307
use time-picker with svg icon
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
HeskeyBaozi
0a8f964935
update test snap shot
6 years ago
afc163
f1649efebb
update rate snapshots
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Alexander Anpleenko
ac924d9443
fixed a word mistake
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
afc163
51d32baa62
fix tabs test snapshots
6 years ago
HeskeyBaozi
ee16585b6d
update test cases
6 years ago
HeskeyBaozi
2f469a3404
use svg icon in form feedback
6 years ago
afc163
101fdc7241
Fix InputNumber overlap in fixed columns table
close #11408
ref #6289
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
afc163
d88a8f6920
docs: Add instruction about validateFields arguments, close #11084
7 years ago
zombiej
11dba9c305
update snapshot
7 years ago
afc163
33c5d3b330
fix test
7 years ago
afc163
0ea8047546
test: update table snapshots
7 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
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