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 多行文本框] t-class-textarea 占位符样式类无效 #3465

Open
315574925 opened this issue Jan 20, 2025 · 2 comments · May be fixed by #3468
Open

[Textarea 多行文本框] t-class-textarea 占位符样式类无效 #3465

315574925 opened this issue Jan 20, 2025 · 2 comments · May be fixed by #3468
Labels
enhancement New feature or request

Comments

@315574925
Copy link

tdesign-miniprogram 版本

1.8.4

重现链接

No response

重现步骤

<t-textarea t-class="custom-textarea" t-class-textarea="custom-textarea-placeholder" placeholder="请输入文字" disableDefaultPadding="{{true}}" />

.custom-textarea-placeholder{
  height: 42rpx;
  font-family: PingFang-SC, PingFang-SC;
  font-weight: 400;
  font-size: 90rpx !important;
  color: red !important;
  line-height: 42rpx;
  text-align: left;
  font-style: normal;
}

期望结果

应该是根据自己传入的class 改变样式

实际结果

没生效

基础库版本

3.7.5

补充说明

应该像下边这样修改下

Image

Copy link
Contributor

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

@anlyyao
Copy link
Collaborator

anlyyao commented Jan 21, 2025

@315574925 建议暂时先用 placeholderStyle 修改占位符样式,年前应该不会再发版本了~

@anlyyao anlyyao added the enhancement New feature or request label Jan 21, 2025
@anlyyao anlyyao linked a pull request Jan 21, 2025 that will close this issue
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants