I have some weird issue and I can't manage to solve.
I have a app with a container, where user chooses a bunch of fields.
In practice, these fields are aimed at generating an email template to send out.
This "Payment Request Form" has a "Prepare Email" button, which triggers some Stripe API calls (generating invoice, link for payment, customer and so on).
Another text box I have, which is a "form" component, is, with dynamic fields, preparing the email template. This is the "Payment Request Email Generator".
Now, while the user is choosing the fields from the "Payment Request Form", the email template is generating the text - so far so good.
When I click the "Prepare Email", the "Payment Request Email Generator" disappears. All the contents, it just becomes blank.
Now, when I go back to the "Payment Request Form" and change a field, the text appears again.
I don't know why, what's the issue.
Some screenshots attached.
- The two forms, and the generated email.
- What happens once I click "Generate Email".
- How everything returns once I change one of the fields on the "Payment Request Form".
Thanks in advance,