WIP
[demos/spring-boot] / src / main / resources / templates / form.html
index 9f1e414..85c1e94 100644 (file)
@@ -30,7 +30,7 @@
               </div>
               <div class="card my-2" th:each="key : *{map.keySet()}">
                 <div class="card-body p-2">
-                  <input type="checkbox" class="form-check-label" th:field="*{map[__${key}__]}" th:value="'true'" />
+                  <input type="checkbox" class="form-check-label" th:field="*{map[__${key}__]}" value="true" />
                   <label class="form-check-label" th:for="|map${key}1|" th:text='|Option "${key}" From The Map|'>Option "KEY" From The Map</label>
                   <button type="submit" class="close float-right pr-2" name="remove" th:value="${key}">
                     <span aria-hidden="true">&times;</span>