JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › DropDownList › Theme fails
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>
Hello Joseph,
You need to set the theme attribute to the body element.
body
Best Regards, Martin
Smart HTMLElements Team https://www.htmlelements.com/
You might want to think about updating your sample code, huh?
Thank you for the feedback!