Skip to content

phx-no-feedback is reapplied to checkbox input #2317

Closed
@benregn

Description

Environment

  • Elixir version (elixir -v): Elixir 1.14.0 (compiled with Erlang/OTP 23)
  • Phoenix version (mix deps): 1.6.15 and 903a05d
  • Phoenix LiveView version (mix deps): 0.18.3 and 0.17.12
  • Operating system: macOS 12.6
  • Browsers you attempted to reproduce this bug on (the more the merrier): Firefox 106.0.3 and Chrome Canary 109.0.5399.3
  • Does the problem persist after removing "assets/node_modules" and trying again? Yes/no: No node_modules present

Actual behavior

After interacting with a checkbox input, the phx-no-feedback class gets reapplied after interacting with another element in the form.

Expected behavior

phx-no-feedback stays removed after interacting with the checkbox input.

Reproduction repo

https://github.com/benregn/repro_liveview_checkbox

There are further reproduction steps in the repo README.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions