Answers for "th:checked radio"

3

html radio only one checked

<!--Just manke both names equal -->
<input type="radio" name="options" id="1"/>
<input type="radio" name="options" id="2"/>
Posted by: Guest on December-10-2020
1

thymeleaf input radio checked

<input type="checkbox" name="active" th:checked="${user.active}" />
Posted by: Guest on May-12-2020

Browse Popular Code Answers by Language