How should I create an html form to bind data with Map field in my DTO object? Here is my DTO class:
@Data
public class SimpleBTO {
private String field1;
private Map<String,Integer> mapField;
}
So once again, how to create a form in thymeleaf for such element?