Describe Problem
While I do appreciate the default behavior of using DOM morphing on to render form errors, it would be great to be able to disable it at both the element level using data- attributes, and library-wide. It's actually causing a FOUC with my font-awesome icons. I also don't want to add Turbo to my project, because it mucks around with the DOM & navigation flow too much for my liking
Suggest Solution
2 configuration options that stop calling morphResponse:
data-skip-ujs-morph
- a
disableErrorRenderer: true flag in mrujs.start
Additional Details
👋 Thanks for this library, I'm glad folks are carrying the torch of UJS!
Describe Problem
While I do appreciate the default behavior of using DOM morphing on to render form errors, it would be great to be able to disable it at both the element level using
data-attributes, and library-wide. It's actually causing a FOUC with my font-awesome icons. I also don't want to add Turbo to my project, because it mucks around with the DOM & navigation flow too much for my likingSuggest Solution
2 configuration options that stop calling
morphResponse:data-skip-ujs-morphdisableErrorRenderer: trueflag inmrujs.startAdditional Details
👋 Thanks for this library, I'm glad folks are carrying the torch of UJS!