如果绑定到 int 和 datetime,“asp-disabled”对 nop-editor 不起作用

问题描述

由于使用 Bootstrap TouchSpin-v4.2.5 库 (jquery.bootstrap-touchspin.js),我无法使用“禁用”属性在这些情况下正常工作(对于 int、DateTime、double 类型),因为这不是由这个库提供的。

<div class="col-md-6">
    <nop-label asp-for="Id" />
    <nop-editor asp-for="Id" asp-disabled="true" />
</div>

我该如何解决这个问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)