Commit Graph

49 Commits

Author SHA1 Message Date
delesseps
a8cab96c13 Add maxLength attribute to Input (#7744) 2017-09-27 09:57:23 +08:00
delesseps
c419a1ddef Remove autoComplete restriction to allow more complex auto-filling behaviour (#7699) 2017-09-22 13:35:26 +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
afc163
010860ae0f Fix style.height issue of Input with addon and prefix, close #6144 2017-05-15 18:15:58 +08:00
偏右
0fdc3799b6 refactor: Extend Input types from HTMLInputProps, #5970 (#5990) 2017-05-15 10:28:13 +08:00
Brook Shi
315f760ce2 Input component support spellCheck for TypeScript 2017-04-30 23:31:45 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Qingrong Ke
8afc2e9e95 Fix 5322 (#5379)
* Input: fix #5322

* Refactor preSuffix to affix

* Update tests and demos

* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
afc163
c537030dee optimize for b7621c9 2017-03-10 17:04:52 +08:00
afc163
dc00b9ee96 Fix Search block again, close #4540 2017-01-10 15:11:43 +08:00
afc163
41ff783868 Add name type for Input, close #4479 2017-01-05 17:19:50 +08:00
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
2017-01-01 01:06:19 +08:00
Benjy Cui
d94f0ab09a docs: update EditableTagGroup demo 2016-12-07 11:08:30 +08:00
afc163
ad911d8dfa Change way to fix #4092 2016-12-04 16:42:49 +08:00
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
2016-11-30 10:20:23 +08:00
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
2016-11-24 14:03:57 +08:00
Benjy Cui
e2b6054cc4 style: update code style 2016-11-15 15:18:40 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +08:00
feng zhi hao
bb22f7864b fix: improve declaration (#3167)
* improve declaration

* remove id props in row
2016-09-27 12:04:01 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Benjy Cui
1dac1370de deps: replace obejct.omit with omit.js, close: #2988 (#2994) 2016-09-10 17:17:55 +08:00
Benjy Cui
5a4ebe535f deps: update rc-form and form's docs (#2873) 2016-09-01 11:48:38 +08:00
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
2016-09-01 11:08:41 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
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
2016-08-19 17:11:06 +08:00
afc163
da6b65f7f0 Merge 1.x-stable 2016-08-12 14:47:01 +08:00
RaoHai
7dd4a019d5 DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
 面板上的 TimePicker
 + DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
 + RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
 + RangePicker showTime : 点击框外和确定均为确定操作。
 + RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
 + RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
 + RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
2016-07-19 16:00:19 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
6dad2b2987 Merge branch '1.x-stable' 2016-07-11 14:57:38 +08:00
afc163
487b40815f Merge 1.x-stable 2016-07-07 15:13:01 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00