Fix multiselecting issue with section field#2186
Conversation
WalkthroughThe pull request introduces a comprehensive update to the Changes
Suggested Labels
Possibly Related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)css/frm_admin.css (1)
Would you like me to perform a codebase scan to see where ".frm-multiselect-key-is-down" is toggled and confirm its usage patterns? Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
lauramekaj1
left a comment
There was a problem hiding this comment.
@AbdiTolesa I tested this and verified that the issue is fixed. Thank you!
truongwp
left a comment
There was a problem hiding this comment.
This works great! Thanks @AbdiTolesa!
|
|
||
| .frm-sortable-helper, | ||
| .frm-multiselect-key-is-down li.form-field:not(.edit_field_type_divider) { | ||
| .frm-multiselect-key-is-down li.form-field { |
There was a problem hiding this comment.
@AbdiTolesa This CSS condition is here intentionally.
Right now you can multi-select specific rows from a section.
Screen.Recording.2025-09-30.at.12.37.10.PM.mov
This update changes it so you multi-select the entire section, not just a row.
Screen.Recording.2025-09-30.at.12.38.33.PM.mov
This is bigger of a change then I intended when I made the issue.
Can we do something more dynamic? It may require more than a simple CSS change.
Crabcyborg
left a comment
There was a problem hiding this comment.
Sorry about the delay replying to this!
I don't think we should merge this as-is as it introduces a different multi-select issue with sections.
See #2186 (comment)
|
@Crabcyborg I'm working on this and found another issue when you try selecting a row inside of a section but I don't see that in your video. All fields are selected when I attempt to do so. I can reproduce it in the QA too as in this video: CleanShot.2025-10-01.at.15.06.25.mp4QA form: https://qa.formidableforms.com/abdi/wp-admin/admin.php?page=formidable&frm_action=edit&id=113 I can try including a fix for this in the same update if you think we should. |
|
@AbdiTolesa Yeah, I was seeing that as well when holding There are two versions of the multi-select. One for selecting multiple fields individually (cmd/ctrl) and one for selecting a range of fields (shift). We might want to try to tackle the issues separately so the required changes don't get mixed up. |
@Crabcyborg Thank you, I just created a new issue to track that issue. https://github.com/Strategy11/formidable-pro/issues/6017 |
|
Closing this PR in favor of #2521 |
I'm not really sure why we were intentionally disallowing section fields to be multiselected originally (
.edit_field_type_divider) but the fix looks simple although I had to sweat 😓 for hours since tracing the logic wasn't straight forward as the tricky part was just the pointer events disabled with CSS. 😆Test steps