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

[TDInput] TDInput的输入内容长度和inputFormatters为什么要设计成互斥的呢? #38

Closed
Luozf12345 opened this issue Feb 22, 2024 · 3 comments

Comments

@Luozf12345
Copy link
Collaborator

tdesign-flutter 版本

0.1.2

重现链接

No response

重现步骤

No response

期望结果

No response

实际结果

wecom-temp-245608-a891a992cfdb9f08bda3299d524021bc

Flutter版本

No response

设备与机型信息

No response

系统版本

No response

补充说明

No response

Copy link

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

@Luozf12345
Copy link
Collaborator Author

设计成互斥的,是因为使用TextFeild默认的maxLengths,会导致右下角显示“x/max”字样。0.1.3版本会服用maxLengths字段,然后通过自定义buildCounter隐藏该字样
image

@Luozf12345
Copy link
Collaborator Author

0.1.3版本已修复

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

1 participant