woylie / flop_phoenix

Components for pagination, sortable tables and filter forms using Phoenix, Ecto and Flop
MIT License
354 stars 37 forks source link

Form reset with reset button stopped working #339

Open woylie opened 2 months ago

woylie commented 2 months ago

The filter form example in the readme includes a reset button. The example was changed to use a button with type="reset" without a phx-click attribute. This used to work, but it stopped working in one of my projects. Find out why, or revert example to previous version with an event handler.