Skip to content

Commit

Permalink
Merge pull request #80 from benswift/patch-1
Browse files Browse the repository at this point in the history
typo fix in docs - missing colon in map
  • Loading branch information
maxmarcon authored Sep 3, 2024
2 parents e041c53 + a1998f1 commit 01f989f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/live_select.ex
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ defmodule LiveSelect do
in order to save space. You can do this by specifying an additional `tag_label` key when passing options as map or keywords. For example, passing these options:
```
[%{label: "New York", value "NY", tag_label: "NY"}, %{label: "Barcelona", value: "BCN", tag_label: "BCN"}]
[%{label: "New York", value: "NY", tag_label: "NY"}, %{label: "Barcelona", value: "BCN", tag_label: "BCN"}]
```
will result in "New York" and "Barcelona" being used for the options in the dropdown, while "NY" and "BCN" will be used for the tags (and the values).
Expand Down

0 comments on commit 01f989f

Please sign in to comment.