phoenix_test
phoenix_test copied to clipboard
`uncheck` doesn't work with array named fields
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
Thanks for opening this issues @balexand! Would you be interested in adding a PR to fix this?