Closed jenstornell closed 7 years ago
I think this is related to this fix: https://github.com/getkirby/panel/issues/1032, if the label does not exist, it calls the tag method on null. Should be the same issue for all fields that extend the InputListField.
Idea for line 18 in inputlist.php
(https://github.com/getkirby/panel/commit/15637a3643285dd1018bffa3bf0feb51e13d8a48#diff-bb0a9bc663412fcb31404411408ccee2R18):
return !is_null($label) ? $label->tag('legend')->attr('for', false) : null;
Fixed, thanks for investigating.
Kirby 2.5
The weird thing is that when adding a label it works.