Closed krishandley closed 3 weeks ago
I created a bug in #3298 if you used put_submitter with a button outside the form.
** (FunctionClauseError) no function clause matching in Phoenix.LiveViewTest.ClientProxy.form_defaults/3 # 1 {"button", [...], [...]}...
So this fixes using put_submitter/2 with named inputs because before I included buttons in maybe_submitter/2.
put_submitter/2
maybe_submitter/2
I'll try and write some extra tests for error/failure cases next week. I've run out of time this weekend.
❤️❤️❤️🐥🔥
I created a bug in #3298 if you used put_submitter with a button outside the form.
So this fixes using
put_submitter/2
with named inputs because before I included buttons inmaybe_submitter/2
.I'll try and write some extra tests for error/failure cases next week. I've run out of time this weekend.