thymeleaf radio button checked site:stackoverflow.com code example
Example: thymeleaf input radio checked
<input type="checkbox" name="active" th:checked="${user.active}" />
<input type="checkbox" name="active" th:checked="${user.active}" />