File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/phoenix_live_view/test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1272,7 +1272,7 @@ defmodule Phoenix.LiveViewTest.ClientProxy do
12721272 _ ->
12731273 # to collect the submitter by selector,
12741274 # need to convert the tree to a lazy here :(
1275- { form_inputs , fn -> DOM . to_lazy ( node ) end }
1275+ { form_inputs , fn -> DOM . to_lazy ( [ node ] ) end }
12761276 end
12771277
12781278 defaults = Enum . reduce ( value_inputs , Query . decode_init ( ) , & form_defaults / 2 )
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ defmodule Phoenix.LiveViewTest.DOM do
146146 @ doc """
147147 Turns a tree into a lazy.
148148 """
149- def to_lazy ( tree ) , do: LazyHTML . from_tree ( List . wrap ( tree ) )
149+ def to_lazy ( tree ) , do: LazyHTML . from_tree ( tree )
150150
151151 @ doc """
152152 Escapes a string for use as a CSS identifier.
You can’t perform that action at this time.
0 commit comments