Tomás Francisco
7d38f8f435
improve form types and docs ( #11932 )
2018-08-29 11:20:33 +08:00
Nikolay
7bf50c85e1
Update Form.tsx
2018-08-22 23:28:07 +08:00
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.
2018-08-22 23:28:07 +08:00
afc163
f1649efebb
update rate snapshots
2018-08-12 01:40:14 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
afc163
aa2b1a4352
Merge branch 'master' into feature-3.8.0
2018-08-03 23:16:08 +08:00
Alexander Anpleenko
ac924d9443
fixed a word mistake
2018-08-02 11:16:19 +08:00
afc163
a06afee8b6
Merge branch 'master' into feature-3.8.0
2018-08-01 15:33:55 +08:00
Lucien Lee
7c43bc553f
change message type to React.ReactNode
2018-07-31 13:58:26 +08:00
Lucien Lee
6606aad391
allow validator message as ReactChild
2018-07-31 13:58:26 +08:00
afc163
51d32baa62
fix tabs test snapshots
2018-07-29 15:19:59 +08:00
afc163
101fdc7241
Fix InputNumber overlap in fixed columns table
...
close #11408
ref #6289
2018-07-23 15:10:43 +08:00
afc163
0c4d356e54
Merge branch 'master' into feature-3.7.0
2018-07-03 19:54:48 +08:00
afc163
d88a8f6920
docs: Add instruction about validateFields arguments, close #11084
2018-06-29 11:57:26 +08:00
zombiej
11dba9c305
update snapshot
2018-06-28 17:12:16 +08:00
afc163
33c5d3b330
fix test
2018-06-27 20:33:32 +08:00
afc163
0ea8047546
test: update table snapshots
2018-06-27 19:49:58 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
muzea
126bb42ddd
remove deprecated prop
2018-06-21 13:49:00 +08:00
muzea
2ce3ffd6f4
fix punctuation
2018-06-21 13:49:00 +08:00
muzea
904fd0a358
form add how to get wrappedComponent's ref
2018-06-21 13:49:00 +08:00
afc163
713a0bcdc5
update snapshot
2018-06-13 20:21:52 +08:00
Sebastian Busch
ee0a7ce3bb
Form: add missing type definition for form create option validateMessages
...
(Docs for validateMessages had been added in rev 16133aac65
)
2018-06-12 14:32:08 +08:00
Sebastian Busch
619b0ed628
add type definition for missing third parameter "allFields" to onFieldsChange (introduced
...
(_Implementation_ of this parameter had been added in 16133aac65
)
2018-06-12 14:32:08 +08:00
afc163
ddc242a9cb
Merge branch 'master' into feature-3.6.0
2018-05-21 16:11:57 +08:00
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
2018-05-17 23:45:13 +08:00
afc163
f3545ccdc7
Merge branch 'master' into feature-3.6.0
2018-05-12 13:49:33 +08:00
jiang
9e01b24272
fix 10445 ( #10457 )
...
* fix 10445
* re help anim timing
* refactor
* use this.helpShow
* is show no set state
* remove state.helpShow
2018-05-10 21:48:11 +08:00
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
2018-05-08 14:00:00 +08:00
afc163
d95379cfa5
Fix broken style of Input with addons, close #10371
2018-05-05 19:50:48 +08:00
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 ab3035da8322d2a35f31aeebffeeea81e44f0313.
2018-05-02 18:24:51 +08:00
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
...
* chore: upgrade menu and select
* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
afc163
3d079af7cd
Fix Input.Group align issue in Form, close #10281
2018-04-27 15:57:27 +08:00
Wu Haotian
4ea20e696c
fix(form): fix typing for Form.onValuesChange
( #10231 )
2018-04-24 23:33:58 +08:00
Wei Zhu
61e4f8011a
Remove sCU from Form ( #10029 )
...
Related #9790
Form and Form.Item are not considered as pure components
2018-04-19 11:49:50 +08:00
afc163
61502ef942
Fix form demo error in IE9
2018-04-18 14:08:06 +08:00
Ed Moore
31e50e50b6
Fix types ( #10063 )
...
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
2018-04-16 10:58:17 +08:00
Wei Zhu
82b721a432
Extend CardProps from native div element attributes
...
Close #9933
2018-04-11 19:41:54 +08:00
Wei Zhu
2a5479a524
Fix type errors
...
Close #9988
2018-04-11 12:01:28 +08:00
ddcat1115
a402fdd8b3
fix #9907 ( #9908 )
...
* fix #9907
* update snapshot
2018-04-04 15:29:59 +08:00
André
245e1cf3d0
Minor typo ( #9922 )
...
Fixes minor typo
2018-04-03 22:00:31 +08:00
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
2018-03-26 15:41:42 +08:00
Benjy Cui
9d7d70becd
docs: should not use ref for wrapped form, close : #9598 ( #9685 )
2018-03-15 14:40:47 +08:00
jiang
76994bd772
Remove Form Item help transition, fix #8831 ( #9675 )
...
* fix #8831
* remove help transition
2018-03-14 17:43:02 +08:00
VTHINKXIE
0070628fa8
style(module:form): narrow css selector ( #9648 )
2018-03-14 11:08:07 +08:00
afc163
4f1f5fd152
update form demo style
2018-03-12 21:52:13 +08:00
afc163
7d3573d471
use more clear function name, close #9465
2018-03-02 12:06:33 +08:00
Wei Zhu
aa9b7a4e4d
Update snapshot
2018-02-27 18:07:39 +08:00
valleykid
eab4fdfe95
Update snapshot
2018-02-25 07:57:23 +08:00
Wei Zhu
dc439bd7c3
Remove generic type from ComponentDecorator, fix #9331
2018-02-22 15:52:35 +08:00