Patrik
accd95ec8a
fix(ui): array fields not respecting width styles in row layouts ( #13986 )
...
### What?
This PR applies `mergeFieldStyles` to the `ArrayFieldComponent`
component, ensuring that custom admin styles such as `width` are
correctly respected when Array fields are placed inside row layouts.
### Why?
Previously, Array fields did not inherit or apply their `admin.width`
(or other merged field styles). For example, when placing two array
fields side by side inside a row with `width: '50%'`, the widths were
ignored, causing layout issues.
### How?
- Imported and used `mergeFieldStyles` within `ArrayFieldComponent`.
- Applied the merged styles to the root `<div>` via the `style` prop,
consistent with how other field components (like `TextField`) handle
styles.
Fixes #13973
---
- To see the specific tasks where the Asana app for GitHub is being
used, see below:
- https://app.asana.com/0/0/1211511898438801
2025-10-01 10:15:30 -07:00
..
2025-09-30 13:58:09 -04:00
2025-09-24 13:19:33 -04:00
2025-09-26 12:15:45 -07:00
2025-05-19 12:36:40 -03:00
2025-09-23 09:37:15 -04:00
2024-11-16 15:30:05 -05:00
2025-06-05 09:19:19 -07:00
2025-09-12 20:57:03 +00:00
2025-04-08 17:25:29 -03:00
2025-05-19 12:36:40 -03:00
2025-09-11 13:24:16 -07:00
2025-06-05 09:19:19 -07:00
2025-09-11 09:14:56 -04:00
2025-09-26 15:24:11 +00:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-09-30 13:58:09 -04:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-08-19 19:44:59 +00:00
2025-05-19 12:36:40 -03:00
2025-10-01 10:15:30 -07:00
2025-09-11 13:24:16 -07:00
2025-09-09 11:43:00 -04:00
2025-06-05 09:19:19 -07:00
2025-09-24 13:17:30 -04:00
2025-06-05 09:19:19 -07:00
2025-09-18 09:34:50 -07:00
2025-08-26 11:03:26 -07:00
2025-09-23 10:14:35 -07:00
2025-09-29 17:01:01 -04:00
2025-09-10 20:46:49 +00:00
2025-09-11 13:24:16 -07:00
2024-10-30 17:56:50 +00:00
2025-10-01 18:38:54 +03:00
2025-09-29 21:07:34 +01:00
2025-05-19 12:36:40 -03:00
2025-09-26 21:23:04 +00:00
2024-08-13 12:54:33 -04:00
2025-09-25 15:14:19 +00:00
2025-05-19 12:36:40 -03:00
2025-09-24 12:11:10 -07:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-09-29 20:05:16 -04:00
2025-09-24 16:31:57 -04:00
2025-09-24 06:01:02 -07:00
2025-09-25 16:36:21 +00:00
2025-08-28 16:12:47 -04:00
2025-06-05 09:19:19 -07:00
2025-10-01 06:10:40 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-09-29 13:10:24 -07:00
2025-08-27 20:32:42 +00:00
2025-09-16 21:03:48 +03:00
2024-07-23 13:44:44 -04:00
2025-09-29 17:01:01 -04:00
2025-09-15 14:00:04 -07:00
2025-06-27 09:13:52 -04:00
2025-07-29 03:25:09 +00:00
2025-07-10 08:00:26 -07:00
2025-07-10 08:00:26 -07:00
2025-07-10 08:00:26 -07:00
2025-07-10 08:00:26 -07:00
2025-07-10 08:00:26 -07:00
2025-09-16 07:09:39 -07:00
2025-09-18 15:01:12 -07:00
2025-09-19 09:28:12 -04:00
2025-09-25 15:14:19 +00:00
2024-07-11 15:59:38 -04:00
2025-06-04 17:34:37 -03:00
2025-06-05 22:01:55 -03:00
2024-12-31 09:14:56 -05:00
2025-09-16 21:23:08 +00:00
2025-09-29 16:58:18 -04:00
2025-07-16 15:17:43 -04:00
2024-08-13 12:54:33 -04:00
2025-03-05 19:14:35 +00:00
2024-09-16 17:02:08 +00:00
2025-09-24 13:19:33 -04:00
2025-07-18 06:48:27 -04:00
2024-11-11 13:59:05 -05:00
2024-10-11 18:54:39 +00:00
2025-09-29 16:58:18 -04:00
2024-10-11 18:54:39 +00:00
2025-09-12 14:52:50 -04:00
2025-09-23 09:37:15 -04:00
2025-09-29 20:05:16 -04:00
2025-02-07 03:24:49 +00:00
2025-09-24 15:04:46 +00:00
2025-07-18 06:48:27 -04:00
2024-08-14 08:57:04 -04:00
2024-10-14 20:02:26 +00:00
2025-09-29 20:05:16 -04:00
2025-05-12 09:41:18 -04:00
2025-02-14 00:08:20 +00:00
2025-01-14 20:00:00 -03:00
2025-09-29 20:05:16 -04:00