AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
818 stars 312 forks source link

feat(alchemy-button): Re-enable on turbo:submit-end #2854

Closed tvdeyen closed 2 months ago

tvdeyen commented 2 months ago

What is this pull request for?

When nested in a turbo frame the form fires a turbo:submit-end event. In this case we want the button to be enabled again.

Checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.86%. Comparing base (f123201) to head (2b38d28).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2854 +/- ## ======================================= Coverage 95.86% 95.86% ======================================= Files 229 229 Lines 6211 6211 ======================================= Hits 5954 5954 Misses 257 257 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.