Files
directus/app/src
Azri Kahar bb51d5a618 Reset junction collection/fields for field relationships with junction table (#15904)
* use `localType` to disable related collection in m2m

this is because `localType` dictates the relationship type (eg. m2m, files), but `type` was only field type (eg. alias, string)

* reset files junction when re-enabling auto fill

* prevent m2m clearing related collection

When re-enabled auto-fill, the updates only contain the autofill, not the m2o related collection value, so it was unintentionally resetting the value even when we are only toggling autofill

* fix autofill for translations

* fix m2a junction autofill toggles

* use getCurrent instead of state

* basic test for fieldDetailStore

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-15 01:56:03 +00:00
..
2022-10-12 17:03:21 +00:00
2022-10-12 17:10:21 +00:00
2022-09-01 16:07:31 -04:00
2022-10-12 17:03:21 +00:00
2020-12-08 02:22:00 +02:00
2021-08-04 09:24:52 -04:00
2022-06-02 18:18:49 -04:00
2022-06-02 18:18:49 -04:00