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] 多行文本希望可以加个参数,隐藏最大字符数显示 #4913

Open
D-xuanmo opened this issue Jan 9, 2025 · 3 comments
Labels
💭 discussion we are discussing

Comments

@D-xuanmo
Copy link
Contributor

D-xuanmo commented Jan 9, 2025

这个功能解决了什么问题

多行文本希望可以加个参数,隐藏最大字符数显示,如果多行文本在中间的时候,这个显示有点不太协调
image

你建议的方案是什么

增加一个 props 来支持隐藏

Copy link
Contributor

github-actions bot commented Jan 9, 2025

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

@uyarn uyarn added the 💭 discussion we are discussing label Jan 9, 2025
@uyarn
Copy link
Collaborator

uyarn commented Jan 9, 2025

直接 t-textarea__limit display none不可以吗

@D-xuanmo
Copy link
Contributor Author

D-xuanmo commented Jan 9, 2025

直接 t-textarea__limit display none不可以吗

可能比较懒,比如某些场景显示比较好,就要封装一下😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 discussion we are discussing
Projects
None yet
Development

No branches or pull requests

2 participants