Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

updated doc.md #38

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pages/03.configuration/03.data-attributes/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ It is recommended that you declare your configuration options by [passing in an

```
<select data-placeholder="Select a state">
<option></option>
<option value="AL">Alabama</option>
...
<option value="WY">Wyoming</option>
</select>
```
Note: while using `data-placeholder` you have to add one empty option in your select box as `<option></option>` otherwise the placeholder may not appear.

## Nested (subkey) options

Expand Down