Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isWithActiveTrigger null object #516

Open
bendangelo opened this issue Oct 27, 2024 · 1 comment
Open

isWithActiveTrigger null object #516

bendangelo opened this issue Oct 27, 2024 · 1 comment

Comments

@bendangelo
Copy link

admin-3bbfa744.js:42 Uncaught TypeError: Cannot convert undefined or null to object
    at Function.values (<anonymous>)
    at li._isWithActiveTrigger (admin-3bbfa744.js:42:49198)
    at e (admin-3bbfa744.js:42:45313)
    at x (admin-3bbfa744.js:42:2624)
    at HTMLDivElement.s (admin-3bbfa744.js:42:2763)
    at d (admin-3bbfa744.js:42:1234)
    at admin-3bbfa744.js:42:2814

The code linked go here:

 _isWithActiveTrigger() {
                        return Object.values(this._activeTrigger).includes(!0)
                    }

This happens on the form page for a model. It doesn't happen every time. I hope this is enough to fix it.

@spohlenz
Copy link
Member

I'm aware of this happening occasionally although as far as I am aware, the worst of its effects is the error messages in the console logs.

I so far haven't been able to find a working workaround, so I do think we'll have to wait for it to be fixed upstream in Bootstrap. Please leave this issue open until then though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants