I try to do a dropdown list with some files and I find this example and I don't know what it should contain the th:field. Please can you tell me also what it should contain the post method in spring if I what to have the selected value? Please help me!! :)
<select th:field="*{type}">
<option th:each="type : ${allTypes}"
th:value="${type}"
th:text="#{${'seedstarter.type.' + type}}">Wireframe</option>
</select>