diff --git a/templates/forms/_json_name_value_list.html b/templates/forms/_json_name_value_list.html index 65a7262..a2b0459 100644 --- a/templates/forms/_json_name_value_list.html +++ b/templates/forms/_json_name_value_list.html @@ -42,11 +42,17 @@ set two to the first in f then set two@value to item.{{ name_two }} end + get the (@data-min-empty of #id_{{ field.name }}) + set min_empty to it + if items.length < min_empty then + repeat (min_empty - items.length) times + call {{ field.name }}.addEmptyField() + end ">
- +
@@ -58,7 +64,7 @@
-