Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inactive Repeatable returns PrimaryKey field on ->fields #106

Open
abraxxa opened this issue Nov 24, 2015 · 0 comments
Open

inactive Repeatable returns PrimaryKey field on ->fields #106

abraxxa opened this issue Nov 24, 2015 · 0 comments

Comments

@abraxxa
Copy link
Collaborator

abraxxa commented Nov 24, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant