Jessica Rynkar
25e3902242
fix(ui): should select document after creation from relationship field ( #12842 )
...
### What?
After creating a new document from a relationship field, this doc should
automatically become the selected document for that relationship field.
This is the expected and current behavior. However, when the
relationship ties to a collection with autosave enabled, this does not
happen.
### Why?
This is expected behavior and should still happen when the relationship
is using an autosave enabled collection.
### How?
1. The logic in `addNewRelation` contained an `if` statement that
checked for `operation === 'create'` - however when autosave is enabled,
the `create` operation runs on the first data update and subsequently it
is a `update` operation.
2. The `onSave` from the document drawer provider was not being run as
part of the autosave workflow.
#### Reported by client.
2025-06-18 11:42:36 +01:00
..
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-16 07:58:03 -04:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2024-11-16 15:30:05 -05:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-04-08 17:25:29 -03:00
2025-05-19 12:36:40 -03:00
2025-05-22 10:04:45 -04: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-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-06-16 16:03:35 -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-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-16 07:58:03 -04:00
2025-06-05 09:19:19 -07:00
2025-06-10 11:56:28 -04: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-05-19 12:36:40 -03:00
2025-06-17 22:24:53 +00:00
2025-06-11 06:23:22 -07:00
2025-05-28 16:50:47 -03:00
2024-10-30 17:56:50 +00:00
2025-06-16 07:58:03 -04:00
2025-06-09 15:22:21 +00:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2024-08-13 12:54:33 -04:00
2025-06-16 16:03:18 -04: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-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-06-05 09:19:19 -07:00
2025-06-10 12:03:26 -04: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-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-06-16 07:58:03 -04:00
2025-06-17 22:24:53 +00:00
2025-06-13 14:11:13 +00:00
2024-07-23 13:44:44 -04:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-06-13 12:31:07 -04:00
2025-06-11 07:49:34 -07:00
2025-05-19 12:36:40 -03:00
2025-06-11 12:04:25 +00:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-12 09:01:20 -04:00
2025-06-16 14:56:05 -04:00
2025-06-18 11:42:36 +01:00
2024-07-11 15:59:38 -04:00
2024-05-25 15:45:05 +00:00
2025-06-04 17:34:37 -03:00
2023-09-01 14:45:41 -04:00
2024-03-07 11:33:46 -05:00
2025-06-05 22:01:55 -03:00
2024-12-31 09:14:56 -05:00
2025-06-17 09:10:42 -04:00
2025-06-09 19:09:52 +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-05-21 16:25:34 -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-06-16 16:03:18 -04:00
2024-05-01 17:35:41 -04:00
2025-02-07 03:24:49 +00:00
2025-06-05 22:01:55 -03: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
2025-05-12 09:41:18 -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