phoenix_test icon indicating copy to clipboard operation
phoenix_test copied to clipboard

`uncheck` doesn't work with array named fields

Open balexand opened this issue 2 months ago • 1 comments

Hi. Thanks for building phoenix_test!

I've seeing a bug in which uncheck doesn't work as expected with checkboxes with array names like:

<input type="checkbox" name="items[]" value="one" />

Here is a link to a LiveView and test that reproduces the issue.

  • https://github.com/balexand/phoenix_test_repro/blob/main/lib/phoenix_test_repro_web/live/example_live.ex
  • https://github.com/balexand/phoenix_test_repro/blob/main/test/phoenix_test_repro_web/live/example_live_test.exs

balexand avatar Nov 12 '25 21:11 balexand

Thanks for opening this issues @balexand! Would you be interested in adding a PR to fix this?

germsvel avatar Dec 01 '25 08:12 germsvel