Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmarcon authored Jun 12, 2024
1 parent ddbf837 commit d18c8bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/live_select.ex
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ defmodule LiveSelect do
_LiveView or LiveComponent that is the target of the form's events:_
```
import LiveSelect
@impl true
def handle_event("live_select_change", %{"text" => text, "id" => live_select_id}, socket) do
cities = City.search(text)
Expand Down Expand Up @@ -326,7 +324,7 @@ defmodule LiveSelect do
retrieve_options()
|> Enum.map(&value_mapper/1)
send_update(Component, id: live_select_id, options: options)
send_update(LiveSelect.Component, id: live_select_id, options: options)
{:noreply, socket}
end
Expand Down

0 comments on commit d18c8bf

Please sign in to comment.