Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Jan 2011
    Location
    NORWAY
    Posts
    112
    Vote Rating
    1
    frankbolviken is on a distinguished road

      0  

    Default 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:

    Code:
    @if $form-field-background-image {            
    background-image: theme-background-image($theme-name, $form-field-background-image);
    }
    Is this bug, or am I doing anything totally wierd here?

    EXT version: 4.0.7

    Frank

  2. #2
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    418
    Vote Rating
    63
    burnnat is just really nice burnnat is just really nice burnnat is just really nice burnnat is just really nice

      0  

    Default

    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.

Thread Participants: 1