Skip to content

Commit

Permalink
[LiveComponent] Fix documentation for select data-model
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- authored and smnandre committed Nov 1, 2024
1 parent 5c20ec3 commit 2700730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ the user to switch the *entity* to another? For example:

<select data-model="post">
{% for post in posts %}
<option data-model="{{ post.id }}">{{ post.title }}</option>
<option value="{{ post.id }}">{{ post.title }}</option>
{% endfor %}
</select>

Expand Down

0 comments on commit 2700730

Please sign in to comment.