-
9 May 2012 3:20 AM #1
Possible bug.... background-image: noen on form fields.
Possible bug.... background-image: noen on form fields.
Hi,
I'm not completely sure, but I think this is a bug. If you set the "$form-field-background-image" property to none (To have all white background on the fields), it tries to look up the image ".../images/default/none" because of this if sentence in _fields.scss:
Is this bug, or am I doing anything totally wierd here?Code:@if $form-field-background-image { background-image: theme-background-image($theme-name, $form-field-background-image); }
EXT version: 4.0.7
Frank
-
9 May 2012 8:03 AM #2
If you set the value of $form-field-background-image to "none", it will still be applied since the string "none" is a truthy value. Instead, I think you should be setting the value to false, so it is caught by the @if statement.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote