afc163
b0df3c1225
Fix input defaultValue and value
2018-12-28 23:00:34 +08:00
afc163
a7786267a7
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
fab24bf38c
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
d19f406f86
✅ fix onChange e.target.value when clear
2018-12-28 23:00:34 +08:00
afc163
cb57ff103b
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
e6bdd3d656
✅ fix snapshot and defaultValue warning
2018-12-28 23:00:34 +08:00
afc163
f10cb764e4
fix defaultValue
2018-12-28 23:00:34 +08:00
afc163
d61ad7445a
⚡ support allowClear for Input
2018-12-28 23:00:34 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
...
* master:
📝 Add bodyStyle and style of Drawer in documentation, #13850
🐛 Fix Drawer style not working
🐛 fix markStyle affset style
Update Santa.jsx
update changelog
bump 3.11.6
revert Christmas egg
[type] make type of components compatible with ComponentType<P>
bump 3.11.5
✨ site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
2018-12-25 01:10:00 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zy410419243
c161d9c285
feat: Add Input.Password
2018-12-05 19:46:06 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
Sebastian Busch
d47a5be712
Input: new method select(), passed to underlying input ( #11906 )
...
* Input: pass through method select() to underlying input
* add test for Input select()
2018-08-28 18:54:21 +08:00
Wei Zhu
be74114d22
fix: Input 'autosize' is missing in type error
...
close #11697
`autosize` was used for `<Input type="textarea" />` which has been
separated to Input.Textarea
2018-08-13 14:04:27 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
afc163
aa6b55be7e
clean up unused code
2018-07-31 16:40:48 +08:00
Wei Zhu
ff458a2c3f
Improve Input type definitions
...
Close #10166
2018-05-21 21:31:59 +08:00
afc163
29229ebee7
fix: input onDoubleClick type, close #10518
2018-05-19 20:01:47 +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
曾凯
d868c5a58e
fix Input type error ( #9046 )
2018-01-20 19:35:14 +08:00
Yury Kozyrev
88e0c9b436
More tabIndex properties ( #8936 )
...
* Update Checkbox.tsx
* Update Input.tsx
* Update index.tsx
2018-01-12 00:09:23 +08:00
Wei Zhu
98ec9100c3
Update Input types
2017-12-28 10:51:12 +08:00
delesseps
8cdf9ea97a
Add onKeyUp TypeScript definition to Input component ( #8705 )
...
* Add onKeyUp support to Input component
* Update snapshot
* Allow other pros to handle onKeyUp
2017-12-28 09:27:11 +08:00
ddcat1115
f780759f91
fix large size formItem vertical align ( #8495 )
...
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align
* use large size for formItem default line-height
* improve
2017-12-08 20:57:30 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
2017-11-30 09:53:32 +08:00
ddcat1115
91fc059c9d
fix input with addon(in form) vertical align issue ( #8325 )
2017-11-29 11:20:38 +08:00
Wei Zhu
05c702838d
Fix implicit any error for Input
2017-11-21 20:38:30 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
delesseps
a8cab96c13
Add maxLength attribute to Input ( #7744 )
2017-09-27 09:57:23 +08:00
delesseps
2730344ff7
Add maxLength attribute to Input ( #7744 )
2017-09-27 09:56:30 +08:00
delesseps
c419a1ddef
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
2017-09-22 13:35:26 +08:00
delesseps
bb411517cf
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
2017-09-22 13:31:48 +08:00
Wei Zhu
4664e36fa4
refactor: input string refs to callback ( #7489 )
2017-09-08 09:43:21 +08:00
infeng
d19bfcbf74
fix onChange ts definition of Input
2017-07-19 13:52:55 +08:00
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
2017-07-12 21:43:06 +08:00
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
2017-07-12 14:23:47 +08:00
偏右
b653a2c055
Merge branch 'master' into feature-2.12
2017-07-07 19:41:37 +08:00
团结
625673486e
I guess nextFrameActionId should be reset after textarea resized.
2017-07-06 20:42:54 +08:00
Benjy Cui
fe33e76479
refactor: extract Input.TextArea
2017-07-03 17:26:29 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
afc163
920adb9a8a
props.style in wrapper for input with addons
2017-06-03 00:55:30 +08:00
afc163
14844eb0e0
Fix AutoComplete and Input Group vertical align issue
2017-05-28 15:27:55 +08:00
clinyong
2202648d6e
Input add autoFocus prop (for ts checking)
2017-05-27 16:37:15 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
afc163
8703145d70
Fix prop-types and createClass warning, #5678
2017-05-18 14:22:47 +08:00
Benjy Cui
a86a3339fc
revert: #5990
2017-05-16 12:02:52 +08:00
afc163
1165200dcc
remove unused className, #6144
2017-05-15 18:20:31 +08:00