Search Kit: Selecting one row selects all rows when embedded in a contact tab
Some Search Kit forms don't allow selecting individual contacts when embedded in an afform on a contact tab.
Steps to replicate
- Create a Search Kit search matching the one in the screenshot below.
- Create a display of type "table". Keep the defaults except "Enable Actions" should be checked.
- Create a new Afform with this search. Place it on a standalone page, also embed it in a contact tab.
- On a contact that has multiple employers, attempt to check the box next to one employer to use the action.
Expected behavior
Selecting one contact should only check the one box.
Actual behavior
Checking any box checks/unchecks all boxes - but only on the form embedded on a tab. The standalone form works normally.
Comments
I thought that perhaps PR #20558 was related to this - but it certainly seems like a bug if the behavior on the standalone form and the form on the contact don't match.