SOLVED IN 1.4: Values with brackets (var, clamp, calc, etc.) in Input fields break styles

Version: 1.4RC2

Hi,

It seems entering “(” anywhere in theme style not only breaks backend field, but it also breaks the whole stylesheet and whole website gets unstyled:

Note: I just entered “var(–titi)” in the field.

Note 2: For existing var() and calc() in theme styling before 1.4RC2 upgrade, no problem, so it seems it’s only newly entered “(” that break everything.

1 Like

Hi Yan,
This is a big catch :hot_face:

Thank you so much!

Best regards,
timmse

4 Likes

Hi Yan,
The issue has been fixed with Bricks 1.4.
The only problem that may occur now is that the broken variables (or functions) have been stored in the database and therefore do not work anymore.

So if you run into a broken layout somewhere, it is most likely due to a broken value in an input field like “var(var(–variable)”. Sorry for the trouble.

Best regards,
timmse

1 Like