You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking the version of BS 4 I'm running changed the argument requirements. Looking at data-confirm-modal.js, it looks like it plugs the data attributes directly into the BS modal function without conferring with defaults. Should backdrop, keyboard and show be using ||= instead?
The text was updated successfully, but these errors were encountered:
Because this gem basically just wraps one JS file, I took out that file, modified it for only supporting BS4, converted it to coffee and fixed the error seen here.
I'm getting this with bootstrap 4:
MODAL: Option "backdrop" provided type "undefined" but expected type "(boolean|string)"
The link is just
I'm thinking the version of BS 4 I'm running changed the argument requirements. Looking at data-confirm-modal.js, it looks like it plugs the data attributes directly into the BS modal function without conferring with defaults. Should
backdrop
,keyboard
andshow
be using ||= instead?The text was updated successfully, but these errors were encountered: