AdvancedCustomFields / AdvancedCustomFields/acf
5.9.0-beta4 - Validation of required ACF field on InnerBlocks block not working
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
I created a custom InnerBlocks block and assigned a required ACF text field to the block. But when i save the post without adding data to the field, i get no validation error and i'm still able to save the post.
Is this is a bug? Or am i doing something wrong?
I'm running ACF Version 5.9.0-beta4 on Wordpress 5.4.2.
Other then that, i'm loving the InnerBlocks feature and plugin overall!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a custom InnerBlocks block containing a required ACF text field on WordPress 5.4.2 and ACF 5.9.0-beta4. Verify whether saving without a value produces a validation error and prevents the post from being saved; the report names no files or tests to inspect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100