JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › ListBox › set items internally › Reply To: set items internally
May 15, 2018 at 12:57 pm
#98850
admin
Keymaster
Hi Aleksandar,
Here is how to set the dataSource property as an attribute:
<smart-list-box data-source='["Order 1", "Order 4"]'></smart-list-box>
Note that when setting properties as attributes, they have to be in dash-case (not in CamelCase), i.e. data-source, not dataSource.
Best Regards,
Dimitar
SmartElements Team
http://www.htmlelements.com