Solved: Can't clone the default HubSpot Form module

When I try to clone the default Form hubspot from /@hubspot/form.module it goes like this:

1. I either right click the module to clone it or I press the popup clone button:

2. I have successfully copied the module, but it shows an error:

3. When looking at the error, it comes from the display conditions:

Nothing I do to it gets rid of the error. The original module does not have any display conditions on that field.

4. I try to move the newly cloned module to my theme, I get an error and it doesn’t get moved. I guess because of the display condition error?

Jere_3-1639229664218.png

Any way to fix this?

Edit: I have been informed by the HubSpot support that the field was deprecated on 5th Dec 2019, as mentioned here: Sunset: Workflow field for custom modules

Therefore deleting the Add to workflow (Boolean) field in the cloned form module will remove the error.

Leaving this up here so maybe the next one Googling for the error will find this edit.

Thanks for updating us, @Jere !

(I can’t mark the original post as a solution so I am marking my thank you as the solution to indicate that it is solved)