html-formhandler icon indicating copy to clipboard operation
html-formhandler copied to clipboard

inactive Repeatable returns PrimaryKey field on ->fields

Open abraxxa opened this issue 10 years ago • 0 comments

When looping over the elements of a Repeatable field using $form->field('repeatable')->fields Repeatable::Instance objects are returned as documented. When doing the same thing when the Repeatable field is inactive it returns the PrimaryKey object instead which I consider a bug as it should return an empty list.

abraxxa avatar Nov 24 '15 16:11 abraxxa