复选框未按应有的方式在 Thymeleaf 上显示
我的 Thymeleaf(使用 Bootstrap)模板上有一个复选框,因为它应该是这样。我有以下代码可将复选框添加到我的 html 模板中:
<td>
<input type="checkbox" name="products" th:value="${p.productId}">
</td>
这是运行应用程序
当我单击复选框时,出现以下内容
我没有像平常那样在广场内进行正常的检查。我已重新启动计算机并清除缓存多次,但仍然遇到同样的问题。
可能是什么问题?
I have a checkbox on my Thymeleaf(using Bootstrap) templates as it should. I have the following code to add a checkbox to my html templates:
<td>
<input type="checkbox" name="products" th:value="${p.productId}">
</td>
This is what I have when I run my application
When I click on a checkbox, I have the following
I do not have the normal check inside the square that we usually have. I have restarted my machine and cleared my cache several times, but I still have the same issue.
What could be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

您可以这样使用:
或
You can use like this:
OR