I have this code
3条回答 粉色の甜心 (楼主) 2021-02-07 10:17 You cannot use th:field along with th:selected. If you replace th:field with name=someMeaningfullName the code will work just fine. Check out this thread on the Thymeleaf forum for more information 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You cannot use th:field along with th:selected. If you replace th:field with name=someMeaningfullName the code will work just fine.
th:field
th:selected
name=someMeaningfullName
Check out this thread on the Thymeleaf forum for more information