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

Make the fields method optional in block definitions #297

Open
pkosciak opened this issue Dec 26, 2024 · 1 comment
Open

Make the fields method optional in block definitions #297

pkosciak opened this issue Dec 26, 2024 · 1 comment

Comments

@pkosciak
Copy link

I prefer creating fields using the ACF GUI and storing them in JSON files. However, I still need to include the fields method in the block definition file because it’s required by some interface.

For now, I’ve been returning an empty array from this method, but I’m concerned that this approach might confuse my coworkers. It would be great if this method weren’t mandatory, simplifying the process and reducing potential confusion for everyone involved.

Please consider implementing this change.

@Log1x
Copy link
Owner

Log1x commented Dec 27, 2024

I'm open to a PR.

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

2 participants