AdvancedCustomFields / AdvancedCustomFields/acf

It's no longer possible to save an empty field group

Open
#768 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hey @mattgrshaw

I noticed that when saving a field group without a field after the last ACF update, a text field is automatically added after the field group is saved. There is currently no way to save the field group without a field.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the field group editor: save a field group with no fields and observe whether a text field is added. Trace the save flow responsible for that behavior; done means an empty field group can be saved without automatically adding a text field.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.