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

Cater for field type group which has sub fields #4

Open
bobbingwide opened this issue Jun 13, 2023 · 1 comment
Open

Cater for field type group which has sub fields #4

bobbingwide opened this issue Jun 13, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Jun 13, 2023

The ACF field type group is a field that consists of zero or more sub fields.
It's possible to nest groups within groups.

Requirements

  • To be able to display the Group in its entirety
  • To display each sub field using existing logic
  • To enable CSS styling of fields within the group.

Proposed solution

  • Implement recursive loop to process each of the sub fields within the group by calling the rendering logic for each field type.
  • Include the outer div for the ACF field block
@bobbingwide bobbingwide added the enhancement New feature or request label Jun 13, 2023
@bobbingwide bobbingwide self-assigned this Jun 13, 2023
@bobbingwide bobbingwide changed the title Cater for field type group which has subfields Cater for field type group which has sub fields Jun 13, 2023
@bobbingwide
Copy link
Owner Author

Delivered in v0.1.0. PHPUnit tests to be written

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

No branches or pull requests

1 participant