Skip to content

Commit 54b294a

Browse files
committed
fix autocomplete example
1 parent d6f9b1b commit 54b294a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

v0.3/handbook/libraries/stdlib.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,8 +1480,18 @@ creates an autocomplete form with the class "birth-state" and the placeholder "W
14801480
search
14811481
[#state name]
14821482
commit
1483-
[#ui/autocomplete #birth-state placeholder: "Where state were you born in?" | completion: [text: name]]
1484-
~~~</code>
1483+
[#ui/autocomplete #birth-state placeholder: "What state were you born in?" | completion: [text: name]]
1484+
~~~
1485+
1486+
Add some states
1487+
~~~
1488+
commit
1489+
[#state name: "PA"]
1490+
[#state name: "CA"]
1491+
[#state name: "OH"]
1492+
[#state name: "SC"]
1493+
~~~
1494+
</code>
14851495
</td>
14861496
</tr>
14871497
<tr>

0 commit comments

Comments
 (0)