MadCcc
642bb582eb
refactor: TextArea ( #40045 )
...
* refactor: TextArea
* chore: update snapshot
* chore: update snapshot
* chore: fix lint
* chore: classes
* refactor: mentions
* chore: bump rc-textarea
* chore: code clean
* chore: code clean
* chore: UPDATE SNAPSHOT
* chore: code clean
* test: cov
* fix: textarea size
2023-01-11 14:18:13 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
kiner-tang(文辉)
6d253369d4
fix: when we apply style resize: none, TextArea should be not resizable when showCount is applied ( #37855 )
...
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-06 19:19:16 +08:00
二货爱吃白萝卜
c436bd6f4f
fix: Textarea blink on first mount ( #37847 )
...
* fix: Textarea blink on first mount
* chore: Update ts def
* test: Update test case
* chore: bump rc-mentions
* test: Update snapshot
* test: Update test case
2022-10-04 23:31:32 +08:00
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
...
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-20 16:48:59 +08:00
二货机器人
d970d80fa0
chore: next merge feature
2022-08-05 15:23:36 +08:00
JarvisArt
549a2f956f
feat: add value parameter to textarea showCount.formatter ( #36793 )
2022-08-01 17:39:57 +08:00
MadCcc
9dd5e9b5e9
Merge branch 'master' into next-merge-master
2022-06-16 10:46:55 +08:00
Humble
0e6e1c047d
fix:when props.value is not undefined, can't reset value and focus ( #34728 )
...
* fix: when props.value is not undefined, can't reset value and focus
* test: add test case
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-15 14:51:30 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
MadCcc
e5efbee968
refactor: Components based on Input migrate to genHook ( #34884 )
...
* refactor: Input base components use genHook
* chore: code style
* chore: code clean
2022-04-06 21:49:30 +08:00
MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
...
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
2022-03-30 14:13:36 +08:00
MadCcc
cf18b1443b
Merge branch 'feature' into next-merge-feature
2022-03-25 20:08:05 +08:00
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form ( #34714 )
2022-03-25 19:31:42 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
8da22ae59c
Merge branch 'feature' into next-merge-feature
2022-03-24 22:58:40 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
...
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
2022-03-24 21:54:20 +08:00
MadCcc
d446bafc6b
refactor: cssinjs for textarea ( #34484 )
...
* refactor: cssinjs for textarea
* chore: code clean
* refactor: better code style
* test: fix lint
* chore: code clean
* test: fix rtl warning
2022-03-14 20:57:01 +08:00
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
...
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
2022-02-16 11:48:24 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
MadCcc
37e042358d
feat: Input support status ( #33995 )
...
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
2022-02-14 17:09:35 +08:00
chenyizhongx
38b4a03c56
fix textarea maxlength issue ( #33910 )
...
* fix: textarea maxlength
* refactor: delete some useless code
* refactor: fix ci
* refactor and fix test case fall
* update snapshot
* add testcase
* refactor type defined
2022-02-14 11:27:52 +08:00
zhenfan.yu
0092253460
fix Input及相关组件设置 hidden 时展示问题 ( #33735 )
...
* fix: Image 图片底部空白 #30825
* feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏
* fix: lint
* fix: test
* fix: test ui
2022-01-15 22:08:19 +08:00
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." ( #33312 )
...
* Revert "fix: TextArea missing maxLength attribute (#32448 )"
This reverts commit ee703c187e
.
* fix: snapshot
2021-12-15 21:36:36 +08:00
Mohammad Arsalan
ee703c187e
fix: TextArea missing maxLength attribute ( #32448 )
2021-10-13 11:55:55 +08:00
二货机器人
3a1a829708
fix: TextArea style missing ( #31391 )
2021-07-13 21:38:19 +08:00
二货机器人
3cfda1042e
fix: TextArea onChange event obj ( #30124 )
2021-04-13 15:42:43 +08:00
二货机器人
793abf4284
fix: TextArea control with maxLenght ( #30070 )
...
* fix: Textarea control missing maxLength
* docs: Clean up
2021-04-09 13:11:18 +08:00
二货机器人
5f38753f6c
fix: align TextArea maxLength
logic ( #29867 )
...
* fix composition
* fix input
* update doc
* fix tst
* more test case
* more test case
2021-03-23 15:03:47 +08:00
Homyee King
dd2cbe0336
fix: showCount ( #29057 )
...
* fix: showCount
* Update components/input/__tests__/textarea.test.js
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-27 09:54:38 +08:00
二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +08:00
二货机器人
6ae70059c9
feat: Input focus support cursor ( #28602 )
...
* feat: Input focus support cursor
* docs: clean up
* test: Fix lint
2020-12-29 22:42:04 +08:00
He Linming
9d216d7cef
feat: add showCount.formatter for TextArea ( #28145 )
...
* feat: add countFormatter for TextArea
closing #28105
* test: add unit test
* refactor: update api
* docs: fix api docs
2020-12-03 20:33:34 +08:00
Tom Xu
30372ffad3
refactor(textarea): rewirte with hook ( #27693 )
...
* refactor(textarea): rewirte with hook
* Update TextArea.tsx
* Update TextArea.tsx
* Update TextArea.tsx
* Update ClearableLabeledInput.tsx
* fix
* improve
* Update TextArea.tsx
2020-11-18 11:27:58 +08:00
jiang.he
9881be97fd
fix: update the slice rule when the TextArea component limits maxLength ( #27679 )
2020-11-11 00:56:57 +08:00
Tom Xu
605bb2ffdf
fix conflict
2020-10-21 14:42:10 +08:00
Tom Xu
1f1956ccd9
Merge branch 'feature' into merge-into-feature
2020-10-21 14:31:16 +08:00
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when !showCount
( #27216 )
...
* fix: TextArea layout
* test: Update snapshot
* fix: value logic
* fix: className & style logic
* chore: rm uesless code
* chore: Clean up
2020-10-19 14:03:19 +08:00
afc163
288f0caf48
merge feature
2020-10-13 11:47:11 +08:00
zoomdong
e6cc0009c3
feat: Input.Textarea support size props ( #27110 )
...
* feat: Input.Textarea add size props
* update snapshot
* update snapshot
* add case
* fix code
2020-10-12 20:39:51 +08:00
xrk
f0f39895b5
style: optimize Input.TextArea count style in rtl ( #27098 )
2020-10-12 12:43:04 +08:00
zhangchen
138b953afd
feat: TextArea showCount ( #26952 )
...
* feat: TextArea showCount
* update: TextArea showCount test
* update: TextArea showCount test
* update: test
* update: test
* update: test
* update: interface
* revert: interface change
2020-10-10 11:30:58 +08:00
偏右
6fc11830d6
fix: Textarea value works differently as Input ( #26652 )
2020-09-09 14:41:00 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
Kermit Xuan
63816fa6ba
🐛 fix(textarea): should display defaultValue when value is undefined ( #26327 )
...
close #26308
2020-08-21 22:14:28 +08:00