Skip to content

Commit

Permalink
Merge pull request #556 from nedhgx/develop
Browse files Browse the repository at this point in the history
Fixed index_editable in Backpex.Fields.Number
  • Loading branch information
Flo0807 authored Aug 30, 2024
2 parents cfcffec + c745bf8 commit 3990af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backpex/fields/number.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ defmodule Backpex.Fields.Number do
end

@impl Phoenix.LiveComponent
def handle_event("update-field", %{"index_form" => %{"index_input" => value}}, socket) do
def handle_event("update-field", %{"index_form" => %{"value" => value}}, socket) do
Backpex.Field.handle_index_editable(socket, value, Map.put(%{}, socket.assigns.name, value))
end

Expand Down

0 comments on commit 3990af4

Please sign in to comment.