Fixed Limited and full width form row do not work well together

TickTackk

Well-known member
Affected version
2.1.10 PL2
One of the add-ons I worked on makes use of formRow--limited to hide a formrow based on a selected value but when those formrow are set to use fullWidth (read: formRow--fullWidth class) then the formRow--limited is never applied.

1591030789315.png

Fix would be to move
Less:
    &.formRow--limited
    {
        display: none;
    }
after:
Less:
    &.formRow--fullWidth
    {
        ...
    }
block in core_formrow.less template.
 
Last edited:
We have tweaked this in 2.2 though I'd note that there isn't really an expectation of this being used in conjunction with other variants (generally on the basis that it won't be seen).
 
Back
Top Bottom