-
Notifications
You must be signed in to change notification settings - Fork 0
Data Input Formats
James Adam Wasson edited this page Mar 15, 2018
·
30 revisions
<ul>
<li name="Item 1" searchable="search me" selected="false"><ul>
<li name="Item 1.1" value="1.1" searchable="search me" selected="false"></li>
<li name="Item 1.2" searchable="search me" selected="false"><ul>
<li name="Item 1.2.1" value="1.2.1" searchable="search me" selected="false"></li>
</ul></li>
</ul></li>
<li name="Item 2" value="2" searchable="search me" selected="false"></li>
</ul>
- Headers are specified by the <li> followed by <ul> tag
- Data is always stored in the <li> tag
- Data for headers
- name: the name displayed for the user
- searchable: the text that can also be used to match this item
- selected: if this data item is pre-select (defaults to false)
- Data for items
- value: the value to be retrieved when the user selects this item
- name: the name displayed for the user
- searchable: the text that can also be used to match this item
- selected: if this data item is pre-select (defaults to false)