WIP
authorKai Moritz <kai@juplo.de>
Thu, 30 Jan 2020 10:15:59 +0000 (11:15 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 7 Apr 2023 11:15:40 +0000 (13:15 +0200)
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>