Skip to content

Commit 4ab8ff9

Browse files
committed
fix: access proper form field for nested argument inputs
fixes #377
1 parent eac0a0a commit 4ab8ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ash_phoenix/filter_form/arguments.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ defmodule AshPhoenix.FilterForm.Arguments do
115115
@impl true
116116
def to_form(form, phoenix_form, :arguments, _opts) do
117117
[
118-
Phoenix.HTML.FormData.to_form(form.source.arguments,
118+
Phoenix.HTML.FormData.to_form(form.arguments,
119119
transform_errors: form.transform_errors,
120120
as: phoenix_form.name <> "[arguments]"
121121
)

0 commit comments

Comments
 (0)