Jacob Fletcher
0b1a1b585b
fix(ui): processing and initializing form does not disable standalone fields ( #11714 )
...
The form component's `initializing` and `processing` states do not
disable fields that are rendered outside of `DocumentFields`. Fields
currently rely on the `readOnly` prop provided by `DocumentFields` and
do not subscribe to these states for themselves. This means that fields
that are rendered outright, such as within the bulk edit drawer, they do
not receive a `readOnly` prop and are therefore never disabled.
The fix is add a `disabled` property to the `useField` hook. This
subscribes to the `initializing` and `processing` states in the same way
as `DocumentFields`, however, now each field can determine its own
disabled state instead of relying solely on the `readOnly` prop. Adding
this new prop has no overhead as `processing` and `initializing` is
already being subscribed to within `useField`.
2025-03-17 10:27:21 -04:00
..
2025-03-13 22:04:53 +02:00
2025-03-05 13:34:08 -05:00
2025-03-14 13:11:12 -04:00
2025-03-05 19:14:35 +00:00
2025-03-07 14:13:48 +00:00
2024-11-16 15:30:05 -05:00
2025-02-18 00:45:59 +02:00
2025-02-26 16:54:39 -05:00
2025-02-18 00:45:59 +02:00
2025-02-14 00:08:20 +00:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-03-02 21:05:25 -07:00
2024-09-20 22:46:40 -04:00
2025-02-18 00:45:59 +02:00
2025-03-12 23:01:41 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-03-14 09:14:28 -04:00
2025-03-10 21:25:14 -04:00
2025-03-17 10:27:21 -04:00
2025-02-18 00:45:59 +02:00
2025-03-07 14:43:09 +00:00
2025-02-18 00:45:59 +02:00
2025-03-11 22:49:06 -04:00
2025-03-05 13:34:08 -05:00
2025-02-26 16:54:39 -05:00
2024-10-30 17:56:50 +00:00
2025-03-05 01:06:43 +00:00
2025-02-19 21:11:50 +00:00
2025-02-26 16:54:39 -05:00
2024-08-13 12:54:33 -04:00
2025-02-28 17:37:07 +00:00
2025-02-18 00:45:59 +02:00
2025-02-26 16:54:39 -05:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-03-05 01:06:43 +00:00
2025-02-27 13:53:45 -05:00
2025-02-24 11:10:21 -05:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-03-01 00:17:24 +02:00
2025-02-18 14:51:17 -05:00
2024-07-23 13:44:44 -04:00
2025-03-13 22:04:53 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-18 00:45:59 +02:00
2025-02-26 21:59:34 +02:00
2025-02-18 00:45:59 +02:00
2025-02-19 13:51:03 +00:00
2025-03-12 09:48:05 -04:00
2025-03-10 21:25:14 -04:00
2024-07-11 15:59:38 -04:00
2024-05-25 15:45:05 +00:00
2025-01-24 01:58:45 +00:00
2023-09-01 14:45:41 -04:00
2024-03-07 11:33:46 -05:00
2025-02-17 19:50:32 +00:00
2024-12-31 09:14:56 -05:00
2025-03-10 21:25:14 -04:00
2024-12-20 20:13:28 +00:00
2024-12-19 11:08:17 -05: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-03-12 15:06:06 -04:00
2024-09-16 17:02:08 +00:00
2024-11-11 13:59:05 -05:00
2024-10-11 18:54:39 +00:00
2025-02-17 19:50:32 +00:00
2024-10-11 18:54:39 +00:00
2024-12-17 14:49:29 -05:00
2025-03-11 09:45:13 -06:00
2025-03-11 17:21:23 -04:00
2024-05-01 17:35:41 -04:00
2025-02-07 03:24:49 +00:00
2025-02-17 19:50:32 +00:00
2024-08-14 08:57:04 -04:00
2024-08-14 08:57:04 -04:00
2024-10-14 20:02:26 +00:00
2025-03-05 19:14:35 +00:00
2024-04-06 15:06:04 -04:00
2024-06-17 14:25:36 -04:00
2025-02-14 00:08:20 +00:00
2024-03-14 23:53:47 -04:00
2025-01-14 20:00:00 -03:00
2025-03-05 19:14:35 +00:00