* 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>