I’m trying to use dynamic smart action forms. So the intention in the form is to
1)pick a user
2)a new field appears listing every team(belongsTo relationship with user) that the user has.
I am able to get the reference field to teams with an onChange hook, but how do I narrow this down from every entry in teams to just this user’s teams? I’ve seen a similar topic in the documentation but I think what I need is a bit different since it’s a reference field. This would improve our workflow and smart action usability by a lot. I attached the code snippet below.
Thank you in advance!