afc163
dc00b9ee96
Fix Search block again, close #4540
8 years ago
afc163
41ff783868
Add name type for Input, close #4479
8 years ago
Rex
1b8a280614
support suffix ( #4283 )
* support suffix
* optimize prefix and suffix
* 1. Optimize prefix and suffix implementation
2. Improve the api document
3. Optimize `Input.Search` implementation
* update snapshots
8 years ago
Benjy Cui
d94f0ab09a
docs: update EditableTagGroup demo
8 years ago
afc163
ad911d8dfa
Change way to fix #4092
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
ddcat1115
73c776e73d
feat: `Input` add NumericInput demo & update searchInput demo ( #3861 )
* Input
add NumericInput demo
update searchInput
* Input
- add Input.Search
- update NumericInput
* snap update
8 years ago
Benjy Cui
e2b6054cc4
style: update code style
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
yiminghe
8afe3965c1
upgrade ts 2.0
8 years ago
feng zhi hao
bb22f7864b
fix: improve declaration ( #3167 )
* improve declaration
* remove id props in row
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
Benjy Cui
1dac1370de
deps: replace obejct.omit with omit.js, close : #2988 ( #2994 )
8 years ago
Benjy Cui
5a4ebe535f
deps: update rc-form and form's docs ( #2873 )
8 years ago
Benjy Cui
92ab804815
feat: Cascader[showSearch] ( #2776 )
* feat: implement Cascader[showSearch] basicly
* feat: optimize Cascader[showSearch]
* feat: clear for input value
* feat: complete Cascader[showSearchf]
* docs: add docs for Cascader[search]
* fix: review
* fix: add key
* style: update code style to please lint
* refactor: update according to review
* docs: update docs
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
Benjy Cui
3411765ce9
Refactor ts ( #2760 )
* refactor: add interface form Calendar
* refactor: add interface for layout
* refactor: add interface for DatePicker
* refactor: add interface for Icon
* refactor: add interface for InputNumber
* refactor: add interface for Input
8 years ago
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
06220f3319
Add autosize for Input of textarea type ( #1951 )
9 years ago
afc163
82a55adfc7
improve code style
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
yiminghe
eb7708c8db
v15. Fixes #1252
9 years ago
Ma Tianxiao
be39bca93a
fix input value/defaultValue prop ( #1414 )
Input elements must be either controlled or uncontrolled, specify either the value prop, or the defaultValue prop, but not both.
9 years ago
Benjy Cui
0e156385da
fix: revert delete defaultValue
9 years ago
Benjy Cui
9d95313d03
chore: suppress warning
9 years ago
afc163
fd850b9607
Add Input onPressEnter prop, ref #978
9 years ago
afc163
28b36d571c
fix Input document undefined error, close #1321
9 years ago
Benjy Cui
794783d1c2
style: enable react/no-multi-comp
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Benjy Cui
5e4786440d
deps: remove object-assign
9 years ago
Bruce Mitchener
89561b0b3e
Favor 'export default' over 'module.exports'.
9 years ago
afc163
a058ebc372
Fix Input className, close #1103
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
Benjy Cui
c8015c88c3
feat: scroll to invalid field automatically #993
9 years ago
afc163
69935c5bbf
Add size for RadioButton, close #904
9 years ago
afc163
3337e6072b
Fix indent
9 years ago
afc163
dab82feb78
auto eslint fix in scripts
9 years ago
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
afc163
1e001d2d82
upgrade eslint-config-airbnb
9 years ago
afc163
4f4240227e
Fix textarea not editable bug, close #646
Caused by #589 fix
and fix #586 via https://github.com/facebook/react/issues/2533#issuecomment-15150334
9 years ago
afc163
31ee4bea30
Fix textarea not editable bug, close #646
Caused by #589 fix
and fix #586 via https://github.com/facebook/react/issues/2533#issuecomment-15150334
9 years ago
afc163
c3aa6ec367
Add search input style, ref #413
9 years ago