th:checked radio code example
Example 1: html radio only one checked
<!--Just manke both names equal -->
<input type="radio" name="options" id="1"/>
<input type="radio" name="options" id="2"/>
Example 2: thymeleaf input radio checked
<input type="checkbox" name="active" th:checked="${user.active}" />