With the latest 6.4.7 update, all elements using isVar
parameters that are within a group now cause a breaking error in the builder, disabling all options in the inspector.
On a fresh install of WordPress and Pro 6.4.7, I set up a new component and added a headline, with the following Parameters JSON:
{
"text" : "text|Default text",
"design" : {
"type" : "group",
"params" : {
"max-width" : {
"type" : "max-size",
"initial" : "none",
"isVar" : true
}
}
}
}
These are the errors that show up in the console:
If you then take the max-width
parameter out of the design
group, it works as expected, no errors showing. I.e. the following JSON has no problems:
{
"text" : "text|Default text",
"max-width" : {
"type" : "max-size",
"initial" : "none",
"isVar" : true
}
}