Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #103187
    Joseph Norris
    Blocked

    Another day, more of your sample code fails to work. The theme doesn’t set.

                  <DropDownList
                    selectionMode='one'
                    theme="red"
                    dataSource={datasource}
                    selectedIndexes={[0]}
                    onChange={(e: any) => {
                      alert(<code>You selected: ${e.detail.label} (${e.detail.value})</code>)
                    }}
                  ></DropDownList>
    #103195
    martin-jq
    Participant

    Hello Joseph,

    You need to set the theme attribute to the body element.

    Best Regards,
    Martin

    Smart HTMLElements Team
    https://www.htmlelements.com/

    #103197
    JosephNorris
    Blocked

    You might want to think about updating your sample code, huh?

    #103207
    martin-jq
    Participant

    Thank you for the feedback!

    Best Regards,
    Martin

    Smart HTMLElements Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.