tailwindcss-stimulus-components
tailwindcss-stimulus-components copied to clipboard
Add Rails/ujs to Autosave
The current Autosave references Rails.fire but does not include Rails. Adding import Rails from '@rails/ujs' should address this.
What is the consensus on using .requestSubmit() rather than Rails.fire?
This would make it compatible with Turbo and remove the dependency on Rails/ujs.
This isn't using Rails.fire any more (11f7338).
Agree with @hcurotta that it should be switched to .requestSubmit though