Files
payload/test
Will Robson a5e6ea5737 fix: remove collapsible label prefix from the FieldSelect dropdown component (#10760)
### What?

Removes Collapsible label from child field label in the `FieldSelect`
component (for example Bulk Edit field select dropdown)

### Why?

Including the Collapsible field label in the option label of the
FieldSelect component could potentially be confusing to a user as it
eludes to the field being nested in the Data schema.

### How?

In the reduceFields function of the FieldsLabel component, if
`field.type === 'collpasible'` the collapsible field's label will not be
combined with the child fields labels.

Fixes #10757

---------

Co-authored-by: Patrik Kozak <patrik@payloadcms.com>
2025-02-17 15:44:13 -05:00
..
2023-09-26 17:11:46 -04:00
2024-06-13 11:08:04 -04:00
2024-02-16 12:33:07 -05:00
2024-01-08 17:12:02 -05:00
2024-06-13 11:08:04 -04:00
2023-10-06 17:16:13 -04:00
2024-06-13 11:08:04 -04:00