We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在某些业务场景下,0被认为是未填写该字段,此时如果用户想要填写该字段,选中输入框之后需要手动删掉原来的0,再输入新的数值,不是很方便
可以加一个参数开关为0是否显示,例如
<t-input v-model="marketing" type="number" :show-zero-value="false" label="营销费用" />
The text was updated successfully, but these errors were encountered:
👋 @lnbiuc,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
或者可以让用户点击进行输入的时候,有个选项控制,是否选中所有已输入的内容,这样再次输入的时候会覆盖原来的内容
@lnbiuc 两个点都更建议在业务测自行处理~
No branches or pull requests
这个功能解决了什么问题
在某些业务场景下,0被认为是未填写该字段,此时如果用户想要填写该字段,选中输入框之后需要手动删掉原来的0,再输入新的数值,不是很方便
你建议的方案是什么
可以加一个参数开关为0是否显示,例如
The text was updated successfully, but these errors were encountered: