Jacob Fletcher
796df37461
fix(ui): awaits form state before rendering conditional fields ( #9933 )
...
When a condition exists on a field and it resolves to `false`, it
currently "blinks" in and out when rendered within an array or block
row. This is because when add rows to form state, we iterate over the
_fields_ of that row and render their respective components. Then when
conditions are checked for that field, we're expecting `passesCondition`
to be explicitly `false`, ultimately _rendering_ the field for a brief
moment before form state returns with evaluated conditions. The fix is
to set these fields into local form state with a new `isLoading: true`
prop, then display a loader within the row until form state returns with
its proper conditions.
2024-12-13 16:42:52 +00:00
..
2024-12-06 13:30:04 -05:00
2024-12-11 08:43:22 -05:00
2024-12-11 13:31:12 -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-11 08:43:22 -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-12-12 03:53:57 +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-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-13 16:42:52 +00:00
2024-12-10 17:37:52 -05:00
2024-11-27 20:36:37 +00:00
2024-11-27 20:36:37 +00:00
2024-12-10 17:37:52 -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-12 21:49:32 +02:00
2024-11-27 20:36:37 +00:00
2024-12-09 11:54:20 -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-12-10 08:42:23 -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-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-11 00:33:53 +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-12-07 16:38:25 +02: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
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-12-13 11:31:24 -05: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-13 11:31:24 -05: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