inactive Repeatable returns PrimaryKey field on ->fields
Opened this issue · 0 comments
abraxxa commented
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.