When animating a formly form using Angular's animations, if the form is built using a custom type, using the ":leave" animation query will cause an unexpected behaviour.
When the component is loaded into the view, multiple instances of the custom type will be seen playing the :leave animation.
Description
When animating a formly form using Angular's animations, if the form is built using a custom type, using the ":leave" animation query will cause an unexpected behaviour.
When the component is loaded into the view, multiple instances of the custom type will be seen playing the :leave animation.
Minimal Reproduction
https://stackblitz.com/edit/angular-ivy-w2atun
Your Environment