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
TDesign-vue-next 1.3.9版本中,为什么 input-number 要定死一个固定width,而input却定义的是width:100%?
tdesign-common/style/web/components/input-number/_index.less
Line 24 in d5d8b2e
tdesign-common/style/web/components/input/_index.less
Line 16 in d5d8b2e
这样不一致的行为
示例Demo如下
<t-form> <t-form-item label="贷款金额" name="amount"> <t-input-adornment append="元"> <t-input-number large-number theme="normal" :format="formatLargeNumber" placeholder="请输入内容"/> </t-input-adornment> </t-form-item> <t-form-item label="贷款年限" name="loanTerm"> <t-input-adornment append="月"> <t-input placeholder="请输入内容"/> </t-input-adornment> </t-form-item> <t-form-item label="贷款年利率" name="loanRate"> <t-input-adornment append="%"> <t-input placeholder="请输入内容"/> </t-input-adornment> </t-form-item> <t-form-item label="还款方式" name="rePaymentMethod"> <t-radio-group default-value="equalPrincipal"> <t-radio value="equalPrincipal">等额本金</t-radio> <t-radio value="equalInstallment">等额本息</t-radio> </t-radio-group> </t-form-item> </t-form>
The text was updated successfully, but these errors were encountered:
👋 @loganylwu,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
♥️ 有劳 @xiaosansiji 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @loganylwu 。
这是个好问题,可能最初只是为了限制一个 min-width
嗯.... 看来要追溯历史确实是个麻烦事,那就不深究了
建议input-number组件能够遵循和 input组件一样的宽度选项
input-number
input
xiaosansiji
No branches or pull requests
TDesign-vue-next 1.3.9版本中,为什么 input-number 要定死一个固定width,而input却定义的是width:100%?
tdesign-common/style/web/components/input-number/_index.less
Line 24 in d5d8b2e
tdesign-common/style/web/components/input/_index.less
Line 16 in d5d8b2e
这样不一致的行为
示例Demo如下
The text was updated successfully, but these errors were encountered: