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

    I’ve been at this all day. How do you set the default value of a dropdown using react?

    selectionMode=’one’ //works as exepected
    dataSource={languages} //value/label array

    displayMember=”French” //nothing
    selectedIndexes={[1]} //triggers a onChange events. reloads with languages[0] selected
    selectedValues={[“fr”]} //nothing

    #103135
    martin-jq
    Participant

    Hello Joseph,

    Could you, please, send us a code example of the React component where you are using the dropdown list?
    Thank you!

    Best Regards,
    Martin

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

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