Question T1648
Visible to All Users

[backgroundColor ISSUE]: dynamic backgroundColor not working and value is not visible in matrixdrodown rendering

created 6 years ago

Hi,

I'm trying to set the value and the dynamic color according to same value of the matrixdropdown element, and the survey is not changing this values/colors

Clipboard-File-1.png

The select box is showing, but…

Clipboard-File-2.png

this matrixdrodown have values selected, but not showing and colors is not changing

Maybe can u help me with this issue, Thanks

Comments (3)

    Hello,

    It's hard to say what's wrong based on the screenshots.
    Could you create a minimal sample illustrating the issue - a plunker or other code sandbox?

    Thanks, Serge
    SurveyJS Team

    JP JP
    Jeyson Palacio 6 years ago

      All the select box items have a value, like this:
      Clipboard-File-1.png

      But… If I select the option.value in onrenderquestion this option.value is empty/null

      Clipboard-File-2.png

      Maybe something with this selector is bad

      Clipboard-File-3.png

        Hello,

        As I've told before - it's impossible to debug the image.
        You need to debug your code - check to what element you are applying styles and check the styles were actually applied.
        If you provide a minimal working sample illustrating the issue - a plunker or other code sandbox + steps to reproduce the issue we can check it.

        Thanks, Serge
        SurveyJS Team