WIP: Property attached to email send to field not working when in a nested component

When a component select property is attached to the “Send to custom email address” field, this property fails when the component is nested within another component. It fails whether the component property is bound to a parent component property or not.

Non nested instances of the component and instances of the component placed in a component slot both work as expected.

Hey @robbiedawson,

any chance that you provide your component, or a simplified one, where I can test it?

Thank you,
Matej

Here are the exported components: https://we.tl/t-DtPFfwHZUVbfzJ90. Let me know if you need anything else.

In my testing the nested form component falls back to the Wordpress admin email and the slotted form component uses the property binding.

Here is an image of the setup on the front end:

Thanks!

Hey @robbiedawson,

thank you for the export. I was able to replicate the issue locally as well and I’ve added it to our internal bug tracker.

Thanks,
Matej

Thanks!

Keep up the good work – Bricks is awesome! :fire:

1 Like