What happened?
Description
I have encountered some buggy behaviour on a multi-instance lightswitch field.
First part of the issue is with the display of the field in the entry index table and second part is with inline editing on the same table.
Steps to reproduce
- Create a lightswitch field with label
Boolean A and handle booleanA
- Create an section and inside it an entry type with this field. Leave the field label and handle unchanged.
- To the same entry type add a second instance of the field with label
Boolean B and handle booleanB
- Create four entries with titles
Boolean A, Boolean A AND Boolean B, Boolean B and None and in each entry configure the corresponding field values.
- Go to the section index and add those two fields as table columns.
- Try to edit the table inline.
Expected behavior
- The table columns should display the correct field values
- Both of those fields should be editable inline.
Actual behavior
- The columns are displaying incorrect values:

- Only one field is editable.

Craft CMS version
5.0.2
PHP version
8.3.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
I have encountered some buggy behaviour on a multi-instance lightswitch field.
First part of the issue is with the display of the field in the entry index table and second part is with inline editing on the same table.
Steps to reproduce
Boolean Aand handlebooleanABoolean Band handlebooleanBBoolean A,Boolean A AND Boolean B,Boolean BandNoneand in each entry configure the corresponding field values.Expected behavior
Actual behavior
Craft CMS version
5.0.2
PHP version
8.3.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions