Commit Graph

9 Commits

Author SHA1 Message Date
msidolphin
ecd6e19c26
fix(input): no trigger input event when clear value (#2723)
fix #2688
2021-07-28 09:24:50 +08:00
haoming
d55ca77137
fix(input): input maxlength calculate the correct length (#2654)
* fix(input): input maxlength calculate the correct length

* docs(input): Update maxlength comment

* fix(input): format code and remove upperLimit calculated attributes

* fix(input): props.maxlength is converted to number type

* docs(input): modify maxlength type
2021-07-25 22:48:47 +08:00
Simona
e93f6f6984
style: add no-multi-spaces rule (#2345)
* style: add no-multi-spaces rule

* style: remove extra spaces
2021-06-25 16:25:54 +08:00
Ryan2128
a1953ef7af
feat(input): add input-style prop (#2117)
* feat(input): add input-style prop

* test(input): add test case
2021-06-03 13:08:50 +08:00
inottn
a02737a78a
fix(input): add keydown event listener for textarea (#1723) 2021-03-31 16:24:42 +08:00
liang xiao
3b4ee6da42
feat(textarea):export method resizeTextarea (#1032)
* feat(textarea):export method resizeTextarea 

i think we need export resizeTextarea to support dynamic size like element2

* test:method resizeTextarea

* test:method resizeTextarea

* test:method resizeTextarea

* Update input.spec.ts

Co-authored-by: liangxiao01 <liangxiao01@jiuqi.com.cn>
2020-12-23 17:00:59 +08:00
Simona
536c43a571
fix(input): non-emit events such as keyup not work (#866)
* fix(input): non-emit events such as keyup not work

fix #837

* fix: remove debug code

* test(input): add test case
2020-12-07 13:21:23 +08:00
Simona
e1add47603
feat(hooks): add useAttrs hook (#317)
* feat(hooks): add useAttrs hook

* feat(hooks): undo binding class and style automatically

* test: remove unused import statement
2020-09-19 20:44:07 +08:00
Hanx
869cec59ba
Feat/input (#216)
* feat(input): migrate input component simply

re #95

* feat(input): mainly complete input component & add more input tests

* fix: address pr comments

Co-authored-by: 陈婉玉 <simonaliachen@gmail.com>
2020-09-04 08:24:56 +08:00