Patrik
62fc2f552f
fix(ui): collapsed array state on input change ( #9800 )
...
### What?
Previously, `initCollapsed: true` `array` fields would auto collapse
when typing in their respective inputs while in the create new view.
### Why?
This was due to the fact that we were only checking if `preferences`
existed in `form state` to handle the current state of the array row and
then falling back on the `initCollapsed` prop if `preferences` didn't
exist.
This was a problem because during create - `preferences` do not exist
yet. As a result, the state of the array row would keep falling back to
collapsed if `initCollapsed` was set to `true`.
### How?
To fix this, we now check the actual form state first before falling
back to preferences and then falling back to the initCollapsed prop
value.
Fixes #9775
2024-12-06 13:22:41 -05:00
..
2024-12-05 00:38:49 +00:00
2024-11-27 20:36:37 +00:00
2024-12-03 21:22:28 -05:00
2024-11-27 20:36:37 +00:00
2024-11-16 15:30:05 -05:00
2024-11-27 20:36:37 +00:00
2024-12-03 09:52:23 -05:00
2024-11-26 14:31:14 -07:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-09-20 22:46:40 -04:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-12-06 13:22:41 -05:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-12-03 21:22:28 -05:00
2024-11-27 16:45:10 -05:00
2024-11-27 20:36:37 +00:00
2024-10-30 17:56:50 +00:00
2024-12-05 21:23:19 +00:00
2024-11-27 20:36:37 +00:00
2024-12-04 17:01:09 -05:00
2024-08-13 12:54:33 -04:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-29 21:25:26 +02:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-12-02 22:05:48 +00:00
2024-11-27 20:36:37 +00:00
2024-07-23 13:44:44 -04:00
2024-12-05 12:29:22 -05:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-11-15 21:47:05 -05:00
2024-11-27 20:36:37 +00:00
2024-12-04 17:01:09 -05:00
2024-07-11 15:59:38 -04:00
2024-05-25 15:45:05 +00:00
2024-10-18 05:38:48 +00:00
2023-09-01 14:45:41 -04:00
2024-03-07 11:33:46 -05:00
2024-11-11 13:59:05 -05:00
2024-09-20 22:46:40 -04:00
2024-11-12 14:42:25 -05:00
2024-08-13 12:54:33 -04:00
2024-11-11 19:28:55 -07:00
2024-09-16 17:02:08 +00:00
2024-11-26 14:31:14 -07: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
2024-10-11 18:54:39 +00:00
2024-10-11 18:54:39 +00:00
2024-03-19 11:31:50 -04:00
2024-11-11 13:59:05 -05:00
2024-12-05 18:43:14 +02:00
2024-05-01 17:35:41 -04:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05: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
2024-10-24 21:19:15 -04:00
2024-04-06 15:06:04 -04:00
2024-06-17 14:25:36 -04:00
2024-08-19 17:31:36 -04:00
2024-03-14 23:53:47 -04:00
2024-11-25 22:13:15 -05:00
2024-10-24 21:19:15 -04:00