orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
LilyWakana
9c0dbe2ddf
fix: optimize Input presuffix style( #17414 ) ( #17684 )
5 years ago
wenhong
77d8c92a16
chore: remove unnecessary disable default props
5 years ago
zombieJ
dd435afadb
fix warning check logic ( #15251 )
6 years ago
afc163
1b713c94e6
🐛 Focus input after clear input content
6 years ago
zombieJ
4d1a998246
add component param in warning ( #15078 )
* add component param in warning
* update snapshot
6 years ago
zombieJ
48900955f8
Warning Input by: add or remove prefix / suffix when Input is focused ( #14948 )
* todo
* add warning
* add FAQ
* fix typo
6 years ago
thilo-behnke
a9a6da47ed
Input: Clear icon doesn't disappear if value is null (vs undefined or empy string) ( #14733 )
* fixed issue with allowClear if value is null
* added test cases for allowClear fix
6 years ago
zombieJ
5ac80c8e55
Use `addonAfter` instead of `suffix` when use `enterButton` in Input.Search ( #14461 )
fix #14450
6 years ago
afc163
b0df3c1225
Fix input defaultValue and value
6 years ago
afc163
a7786267a7
🐛 Fix review problems
6 years ago
afc163
fab24bf38c
🐛 Fix review problems
6 years ago
afc163
d19f406f86
✅ fix onChange e.target.value when clear
6 years ago
afc163
cb57ff103b
🐛 Fix review problems
6 years ago
afc163
e6bdd3d656
✅ fix snapshot and defaultValue warning
6 years ago
afc163
f10cb764e4
fix defaultValue
6 years ago
afc163
d61ad7445a
⚡ support allowClear for Input
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zy410419243
c161d9c285
feat: Add Input.Password
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
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()
6 years ago
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
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
afc163
aa6b55be7e
clean up unused code
6 years ago
Wei Zhu
ff458a2c3f
Improve Input type definitions
Close #10166
7 years ago
afc163
29229ebee7
fix: input onDoubleClick type, close #10518
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
曾凯
d868c5a58e
fix Input type error ( #9046 )
7 years ago
Yury Kozyrev
88e0c9b436
More tabIndex properties ( #8936 )
* Update Checkbox.tsx
* Update Input.tsx
* Update index.tsx
7 years ago
Wei Zhu
98ec9100c3
Update Input types
7 years ago
delesseps
8cdf9ea97a
Add onKeyUp TypeScript definition to Input component ( #8705 )
* Add onKeyUp support to Input component
* Update snapshot
* Allow other pros to handle onKeyUp
7 years ago
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
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
ddcat1115
91fc059c9d
fix input with addon(in form) vertical align issue ( #8325 )
7 years ago
Wei Zhu
05c702838d
Fix implicit any error for Input
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
delesseps
a8cab96c13
Add maxLength attribute to Input ( #7744 )
7 years ago
delesseps
2730344ff7
Add maxLength attribute to Input ( #7744 )
7 years ago
delesseps
c419a1ddef
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
7 years ago
delesseps
bb411517cf
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
7 years ago
Wei Zhu
4664e36fa4
refactor: input string refs to callback ( #7489 )
7 years ago
infeng
d19bfcbf74
fix onChange ts definition of Input
7 years ago
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
7 years ago
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
7 years ago
团结
625673486e
I guess nextFrameActionId should be reset after textarea resized.
7 years ago
Benjy Cui
fe33e76479
refactor: extract Input.TextArea
8 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
afc163
920adb9a8a
props.style in wrapper for input with addons
8 years ago