Commit Graph

99 Commits

Author SHA1 Message Date
luckyCao
88ae222c61 Input: add show-word-count attribute (#15075) 2019-04-19 16:14:07 +08:00
Jiewei Qian
d38ab315fa Input: update DOM dependent values on type change (#14889)
fix #14857
2019-04-02 12:19:32 +08:00
Jiewei Qian
ed13de38c7 input: fix regression (#14572)
* input: fix regression

guard against: #14551
fix: #14501, #14521, #14564, #14332

* Input: update
2019-03-19 15:54:55 +08:00
iamkun
969fdd264b Input: update input password (#14480)
* refactor: Refactor Input component

* Update input.vue

* Update input.vue
2019-02-26 12:09:05 +08:00
Hao Peng
423d97825f Input: add show-password props (#13966) 2019-02-21 12:30:38 +08:00
Zhi Cun
c154292d1b input: fix textarea ref (#13803) 2019-01-21 14:42:00 +08:00
Jiewei Qian
e2c5573c1f Input: simplify el-input implementation (#13471)
* input: simplify internal implementation

remove currentValue, strictly follow one-way data flow
hack for MSIE input event when placeholder is set
remove isKorean hack (#11665, #10648)

* input-number: fix for new el-input

* test: input, fix vue warning

* date-time-range: fix for new el-input

* pagination: fix for new el-input, simplify internals

* input: fix input event on compositionend

* input-number: fix for new el-input

* input-number: nuke userInput on change
2018-11-26 15:05:46 +08:00
Arthur Denner
026558682c Autocomplete: add clearable prop (#12171)
* Autocomplete: add clearable prop

* Input: remove focus after clearing the value

* Autocomplete: hide options after clearing the value
2018-11-13 18:33:33 +08:00
hetech
7daa72be04
Input: not display clear icon in disabled form (#13208) 2018-10-29 15:52:45 +08:00
James Wragg
b55ea514e2 Input: s autocomplete on textarea (#12917)
A textarea element can also have an autocomplete attribute.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
2018-09-28 17:09:37 +08:00
Axetroy
ec6cac4232 Input: fix autocomplete property is not compatible with native #12513 (#12514)
* fix #12513

* fix: fallback for autoComplete and print deprecated warning

* fix: fix auto-complete property in select component

* fix default complete value

* Docs: Update document for autocomplete property change

* Docs: remove redundant documents

* remove unnecessary console log message\

* Update select.md

* fix: add missing declaration in select.d.ts
2018-08-28 15:44:21 +08:00
hetech
9e738a85c3
Input: not trigger form validation when input (#12260)
* Input: not trigger validation when input

* InputNumber: update docs
2018-08-07 18:33:58 +08:00
hetech
1cc45b83d8 Input: fix wrong style of Input suffix (#12108)
* Input: fix wrong style of Input

* update input.vue

* add test case
2018-07-25 15:54:02 +08:00
Jikkai Xiao
5e32b4c772 Input: add missing readonly prop (#11967) 2018-07-12 16:54:22 +08:00
hetech
b0a80e0eba Input: fix style error when suffix exists with append (#11951) 2018-07-12 13:27:28 +08:00
STLighter
f37e92cc82 Input: cursor goes to the end when typing Chinese quickly (#11235)
autocomplete: remove composition event listeners because input has already handle it.
2018-05-21 14:43:37 +08:00
杨奕
3d5f9ef080
Input: fix clear icon overlapping (#11103) 2018-05-10 15:31:37 +08:00
杨奕
d304cb27cf
Input: hide clear button when readonly (#10998) 2018-05-03 19:20:25 +08:00
杨奕
27a8c1556e
Input: not show clear button when value is null (#10912) 2018-04-27 16:22:21 +08:00
Hyuni
783cb2691f Input / Select: fix Korean IME composition bug (#10648)
* Input: fix cursor goes to the end of the text(#10611)

* Input: fix cursor goes to the end of the text(#10611)

* Update input.vue

* Update select.vue

* Update input.vue
2018-04-15 15:57:35 +08:00
杨奕
769db14516
Input: fix when value is zero (#10714) 2018-04-15 14:45:52 +08:00
杨奕
a864d506aa
Textarea: fix undefined in ssr when v-model not set (#10630) 2018-04-09 19:54:00 +08:00
杨奕
0b7e9dae5c
Input / Select: shouldn't fire input event during composition (#10517) 2018-04-02 18:12:56 +08:00
Leopoldthecoder
8ce9978ee1 Input: pass native types to input element 2018-03-28 17:57:34 +08:00
杨奕
e67d71a42d
Input: add inheritAttrs (#10391) 2018-03-28 10:57:19 +08:00
杨奕
af4b13d911
Input: bind native attrs to input and textarea element (#10382) 2018-03-27 13:37:52 +08:00
杨奕
5d6fe5eb2c
Input: add blur method (#10356) 2018-03-26 10:51:18 +08:00
杨奕
430c149d88
Input: disabled Input should not show clear icon (#10331) 2018-03-23 16:36:58 +08:00
杨奕
3377cd0847
Input: add select method (#10229) 2018-03-19 12:17:57 +08:00
blackmiaool
e70c598d44 Input: add clear event (#9988) 2018-03-04 13:50:25 +08:00
阿林
ad07722aab Chore: replace var with let and const (#9774) 2018-02-11 16:37:58 +08:00
Leopoldthecoder
56dc51bc85 Form: add disabled 2018-01-29 18:14:58 +08:00
dicklwm
79a4ac29af #9038, add el-input tabindex props 2017-12-28 15:50:07 +08:00
Bogdan Luca
6e8f10a556 Input: add clearable (#8509)
* Added clearable to el-input.

* Added en-US example.

* Also fire change event on clear.

* Used clearable shorthand; added clearable to attribute list.

* Added styles.
2017-11-27 10:55:26 +08:00
wacky6.AriesMBP
c7d3de95b0 input: fix focus 2017-11-15 11:28:22 +08:00
Leopoldthecoder
768981c1aa Changelog: update for 2.0.0-rc.1 2017-10-25 05:47:57 -05:00
Li Chuangbo
0d9204dd89 Input: remove textarea extra close tag 2017-10-24 21:08:24 -05:00
杨奕
36dfe304f3 Form: add clearValidate (#7623)
* Form: add clearValidate

* remove dup attrs
2017-10-21 23:35:42 -05:00
baiyaaaaa
c3cf3f2389 support prop 'for' (#6049) 2017-10-21 22:00:06 -05:00
Leopoldthecoder
fa140dea9c Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	packages/input/src/calcTextareaHeight.js
#	packages/message-box/src/main.vue
#	packages/theme-default/src/menu.css
#	yarn.lock
2017-10-20 14:08:11 +08:00
wayne
b678772e94 Carbon: add migration mixin for breaking changes 2017-10-19 01:01:47 -05:00
Leopoldthecoder
2999279ae3 minor fixes for select, message-box and textarea 2017-10-18 18:38:13 +08:00
杨奕
38459ae850 update dependencies (#7476)
* update el-input change event

* upgrade to vue 2.5.0

* upgrade webpack to 3.7

* upgrade vue to 2.5.2

* minor style updates
2017-10-16 14:07:24 +08:00
Black Wayne
9b09f6aa9f Form: add size attribute (#7428) 2017-10-12 04:50:06 -05:00
Black Wayne
5426c957a2 add upload limit & form validate return promise (#7405)
* Carbon: upload limit & input append & form validate promise

* Update upload.md

* Update upload.md

* Update index.js
2017-10-12 03:07:50 -05:00
Jiewei Qian
889fae43fb Input: align input change with native (#7258)
* Input: align change event with native ones

* test: update input:change event test
2017-10-11 22:28:42 -05:00
Leopoldthecoder
9dcc4eb0b7 Docs: add algolia search 2017-10-10 05:23:42 -05:00
maranran
d66473f005 add accessibility for input & rate & collapse & progress & upload (#7196) 2017-09-29 02:58:07 -05:00
杨奕
ad88dd2ec7 TimePicker: add chalk theme (#7102)
* TimePicker: add chalk theme

* minor style fixes
2017-09-19 09:35:57 -05:00
baiyaaaaa
91d9ed7feb feature inline message 2017-09-18 00:37:43 -05:00