Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Textarea] 最多只能输入140个字符 #1033

Closed
cosmo2097 opened this issue Nov 15, 2022 · 4 comments · Fixed by #1097
Closed

[Textarea] 最多只能输入140个字符 #1033

cosmo2097 opened this issue Nov 15, 2022 · 4 comments · Fixed by #1097
Assignees

Comments

@cosmo2097
Copy link

cosmo2097 commented Nov 15, 2022

tdesign-miniprogram 版本

0.26.0

重现链接

No response

重现步骤

引入Textarea组件并不断输入文字,对maxlength进行各种值的测试,如:-1,500

期望结果

可以输入更多的字符

实际结果

只能最多输入140个字符

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

根据小程序textarea组件的官方文档,在maxlength不设置时,默认maxlength=140,设置为-1时不限制。t-textarea好像并未给内部的textarea设置maxlength。

@github-actions
Copy link
Contributor

👋 @cosmo2097,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

github-actions bot commented Nov 15, 2022

♥️ 有劳 @cheer555 @zhenzhencai 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @cosmo2097

@anlyyao
Copy link
Collaborator

anlyyao commented Nov 22, 2022

我来处理~

@anlyyao anlyyao self-assigned this Nov 22, 2022
@ZS1994
Copy link

ZS1994 commented Nov 22, 2022

我也发现同样问题,如果我设置maxlength大于140时,无论有多大,实际上最多也只能输入140个字符

@anlyyao anlyyao linked a pull request Nov 23, 2022 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants