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

Address field set to repeatable incorrectly adds blank field groups upon save #17

Open
DevinWalker opened this issue Jul 29, 2015 · 2 comments

Comments

@DevinWalker
Copy link
Contributor

Scenario: User has the repeatable address fields in a plugin or theme like so: https://gist.github.com/DevinWalker/4cfbc188b23e6e63bdcc

When saving the field a new group is created after every save:

Example 1:
7-29-2015 3-00-27 pm

Example 2:
blanks

@DevinWalker
Copy link
Contributor Author

I stumbled upon this fix CMB2/CMB2#373 but it's really a workaround. I believe there's a core solution needed

@jtsternberg
Copy link
Member

The snippet library is not core. I will happily accept a PR, but unfortunately don't have the time to explore this further right now.

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