Subscribe and pushValue
When I subscribe to another field in the form, it successfully recieves those values. But how can I push/set those values within a subscriber.

5 Replies
rising-crimsonOP•2mo ago
@Luca | LeCarbonator you might know this?
absent-sapphire•2mo ago
just finished an exam, give me about an hour and I can take a look
notable-maroon•2mo ago
@markus0739 can you rephrase your question? I'm not sure what you're trying to accomplish
rising-crimsonOP•2mo ago
So, I have a subscriber that listenes to another field in my form. If that field have the same relationshipType as my current field, I want to push those values into my new field.
I cannot use a listener in my other field, because I do not have the right index - i think.
I have this form object:
{phoneNumbers: [], relatedPersons: [{phoneNumbers:[]}]}
notable-maroon•2mo ago
Can you create a Stackblitz or paste your code here as text or a github gist or something?