JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › DropDownList › Default Value
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
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/