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

【input】希望输入框组件增加配置输入文本靠左靠右的配置 #293

Closed
LoopZhou opened this issue Jan 21, 2022 · 5 comments
Closed

Comments

@LoopZhou
Copy link
Collaborator

Describe the solution you'd like
希望输入框组件能够增加一个props入口用于配置输入文本是靠左还是靠右显示

Additional context
wecom-temp-8082c6057d3d6d444592e06e02cb6015

wecom-temp-b72b087f00bd7a6e66d7042a8f9343b2

@AvenirZheng
Copy link

什么情况下会有从右到左输入的场景的? @LoopZhou

@LoopZhou
Copy link
Collaborator Author

LoopZhou commented Jan 21, 2022

还是从左到右的输入。只是文本右对齐。

场景:
在表格中添加一行数据, 上几行的内容是右对齐的文本。输入的文本则是左对齐的。产品是希望表格中文本能对齐。

方便看一下是否在组件中实现这种配置吧。

@chaishi
Copy link
Collaborator

chaishi commented Jan 22, 2022

支持,稍后补充 PR
image

@chaishi
Copy link
Collaborator

chaishi commented Jan 22, 2022

resolved in #320 and Tencent/tdesign-common#165

@xiaosansiji
Copy link
Collaborator

已在 0.33.2 版本中实现

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

No branches or pull requests

4 participants