Within my Thymeleaf templates with Bootstrap, I have successfully implemented a checkbox. Below is the code snippet used to incorporate the checkbox into the HTML templates:
<td>
<input type="checkbox" name="products" th:value="${p.productId}">
</td>
Upon running the application, this is the result:
https://i.sstatic.net/s3cEm.png
However, upon clicking on the checkbox, the displayed output changes to:
https://i.sstatic.net/7xmLv.png
Despite restarting my machine and clearing the cache multiple times, the issue persists where the normal check inside the square does not appear as expected.
I am seeking advice on what could potentially be causing this problem?