-
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
Group fields - unable to sort/drag & unable to remove/delete the 1st item #1483
Comments
Can you open your browser's developer console and observe if there's any errors occurring at the javascript level? Also is this with classic or block editor where you're seeing it? |
Hello Michael - nope, no js errors in console (except some jquery migrate warnings). |
Will try to test/confirm soon. I believe the inability to remove ALL is sort of intentional, even if empty. However I could be wrong with intent there. |
As far as I know (ie: at least for what I learned using CMB2 quite often), the Group field will always have at least on item, but when you try to delete it it just delete the content of its inner fields... and that's fine. But what I experience now is that is not possible to remove it at all (meaning, remove the content of a single Group field). Weird... |
I know in the original issue there's a lot of the boilerplate GitHub issue content still in place, but I want to confirm if you have actually tested with the |
Yep, it seems that this solve the "1st item delete" issue. |
Correct, that require statement is based on the tagged versions and 2.10.1 is our most recent tag. Would not be pulling in changes in the |
Describe the bug
I'm having issues on repeater/group fields, as now it seems that I can't sort/order each single fields groups, and also now I cannot remove the 1st group item
Steps to reproduce (I have confirmed I can reproduce this issue on the
develop
branch):--
Possible Solution
--
Possible Solution's Risk Level
--
Screenshots
--
CMB2 Field Registration Code:
Your Environment
Browser name and version: Chrome
Operating System and version (desktop or mobile): Windows11
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: