-
Notifications
You must be signed in to change notification settings - Fork 571
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
issues with repeatable fields in a group and with sorting the groups #712
Comments
Can you provide your metabox configuration for this please? It'd be everything with $something = new cmb2_meta_box() and the $something->add_field() bits. Wanting to see if I can recreate the issue. |
Sorry for the wait, here is the configuration:
|
Haven't forgotten this one. |
@jtsternberg as far as I can tell, this is a legitimate issue going on. The fields "disappear" as you move them up, but they also come back as you move them back down. Also seeing these errors show up in the console. |
I'm having the same issues. A new empty group is created upon saving the post. If I delete the empty group and hit save again, the empty group is in fact deleted. As to the sortable group, same error: if the number of repeatable fields is different inside each group, the number of fields stays fixed despite sorting the content, just as @manmar described. So, if the first group has 2 fields and the second has 3 fields, when sorting only the first 2 fields of the second group are shown in their new position as first group fields. Also, if I add another line/field to this group, the content of the missing field is automatically inserted in this new created field. |
Any updates on this? |
Nothing I've seen or heard of. |
I was using CMB2 v2.1.2 with WP v4.5.3 and had an issue with text repeatable fields within a group when sorting - the number of the repeatable fields would not move up or down when clicking on arrows. For example if the first item had 2 repeatable text fields and the second item had 3 text fields, after changing the order the second (now first) item would have only 2 text fields and the first would have 3 fields (one empty).
I've made a video to show what was going on exactly: http://recordit.co/COtIqkm5Mf
Then I updated to v2.2.2.1 (also tried 2.2.3.beta) and the same issue is still there but there is also a new one. Upon updating the page, two more groups are added. Next to last group will get the last repeating field value, and the last one will be empty.
Again, here is a video demonstrating the issue: http://recordit.co/Z8VgHU80hT
The text was updated successfully, but these errors were encountered: