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-11-26 18:22:04 -05:00
2024-12-02 13:18:16 -05:00
2024-11-26 09:39:25 -05:00
2024-10-04 13:02:56 -06:00
2024-11-11 13:59:05 -05:00
2024-11-12 10:18:22 -05:00
2024-11-25 17:48:16 -05:00
2024-12-05 15:56:00 -05:00
2024-10-04 13:02:56 -06:00
2024-11-05 13:43:51 -06:00
2024-11-25 17:48:16 -05:00
2024-11-11 13:59:05 -05:00
2024-12-03 21:06:51 +02:00
2024-10-04 13:02:56 -06:00
2024-12-02 05:53:12 +00:00
2024-11-11 13:59:05 -05:00
2024-12-02 13:57:59 -05:00
2024-11-26 17:06:30 -05:00
2024-11-27 16:45:10 -05:00
2024-11-28 14:55:41 -07:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05:00
2024-08-29 21:25:50 -04:00
2024-11-11 13:59:05 -05:00
2024-10-04 13:02:56 -06:00
2024-11-12 10:18:22 -05:00
2024-12-02 13:57:59 -05:00
2024-10-04 13:02:56 -06:00
2024-11-15 15:08:06 -05:00
2024-10-04 13:02:56 -06:00
2024-12-03 21:22:28 -05:00
2024-10-04 13:02:56 -06:00
2024-08-21 17:44:34 -04:00
2024-10-04 13:02:56 -06:00
2024-10-04 13:02:56 -06:00
2024-10-04 13:02:56 -06:00
2024-11-15 15:08:06 -05:00
2024-11-21 14:16:01 -05:00
2024-11-11 13:59:05 -05:00
2024-11-25 17:48:16 -05:00
2024-11-26 18:22:04 -05:00
2024-10-04 13:02:56 -06:00
2024-10-04 13:02:56 -06:00
2024-08-19 17:31:36 -04:00
2024-12-02 13:57:59 -05:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05:00
2024-08-19 17:31:36 -04:00
2024-11-12 20:05:12 -05:00
2024-11-25 17:48:16 -05:00
2024-10-04 13:02:56 -06:00
2024-10-04 13:02:56 -06:00
2024-10-04 13:02:56 -06:00
2024-12-05 15:56:00 -05:00
2024-11-11 13:59:05 -05:00
2024-10-04 13:02:56 -06:00
2024-12-04 14:00:17 -05:00
2024-12-02 13:57:59 -05:00
2024-12-01 21:35:03 -07:00
2024-12-05 21:23:19 +00:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05:00
2024-11-19 04:30:21 +00:00
2024-10-04 13:02:56 -06:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05:00
2024-11-26 13:25:37 -05:00
2024-10-04 13:02:56 -06:00
2024-08-21 20:44:04 -04:00
2024-11-11 13:59:05 -05:00
2024-10-04 13:02:56 -06:00
2024-11-11 13:59:05 -05:00
2024-12-02 13:57:59 -05:00
2024-11-15 15:08:06 -05:00
2024-10-31 00:01:58 +00:00
2024-11-11 13:59:05 -05:00
2024-12-03 21:22:28 -05:00
2024-12-06 13:22:41 -05:00
2024-11-26 13:25:37 -05:00
2024-10-04 13:02:56 -06:00
2024-10-04 13:02:56 -06:00
2024-09-06 14:54:39 -04:00
2024-12-02 13:57:59 -05:00
2024-11-19 13:22:23 -05:00
2024-11-11 13:59:05 -05:00
2024-12-03 21:22:28 -05:00
2024-08-29 21:25:50 -04:00
2024-07-22 13:01:52 -04:00
2024-11-19 04:30:21 +00:00