question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting too much recursion on page reload from tempusdominus on FF

See original GitHub issue

Getting the error in jQuery, the cause seems to be initiated by tempusdominus

jQuery.Deferred exception: too much recursion CLASS/<@https://code.jquery.com/jquery-3.2.1.min.js:2:14936
ua/<@https://code.jquery.com/jquery-3.2.1.min.js:2:20033
f@https://code.jquery.com/jquery-3.2.1.min.js:2:21716
x</ga.select@https://code.jquery.com/jquery-3.2.1.min.js:2:22764
ga@https://code.jquery.com/jquery-3.2.1.min.js:2:7208
handlers@https://code.jquery.com/jquery-3.2.1.min.js:3:10788
dispatch@https://code.jquery.com/jquery-3.2.1.min.js:3:10014
add/q.handle@https://code.jquery.com/jquery-3.2.1.min.js:3:8326
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:5626
trigger/<@https://code.jquery.com/jquery-3.2.1.min.js:4:6130
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:6109
f</t</h.prototype._notifyEvent@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:10377
f</t</h.prototype._setValue@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:8515
f</t</h.prototype._int@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6961
h@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6472
k@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:29118
l</k._jQueryInterface/<@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22218
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
l</k._jQueryInterface@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22079
@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22592
dispatch@https://code.jquery.com/jquery-3.2.1.min.js:3:10264
add/q.handle@https://code.jquery.com/jquery-3.2.1.min.js:3:8326
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:5626
trigger/<@https://code.jquery.com/jquery-3.2.1.min.js:4:6130
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:6109
f</t</h.prototype._notifyEvent@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:10377
f</t</h.prototype._setValue@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:8515
f</t</h.prototype._int@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6961
h@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6472
k@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:29118
l</k._jQueryInterface/<@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22218
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
l</k._jQueryInterface@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22079
@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22592
dispatch@https://code.jquery.com/jquery-3.2.1.min.js:3:10264
add/q.handle@https://code.jquery.com/jquery-3.2.1.min.js:3:8326
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:5626
trigger/<@https://code.jquery.com/jquery-3.2.1.min.js:4:6130
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:6109
f</t</h.prototype._notifyEvent@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:10377
f</t</h.prototype._setValue@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:8515
f</t</h.prototype._int@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6961
h@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6472
k@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:29118
l</k._jQueryInterface/<@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22218
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
l</k._jQueryInterface@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22079
@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22592
dispatch@https://code.jquery.com/jquery-3.2.1.min.js:3:10264
add/q.handle@https://code.jquery.com/jquery-3.2.1.min.js:3:8326
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:5626
trigger/<@https://code.jquery.com/jquery-3.2.1.min.js:4:6130
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:6109
f</t</h.prototype._notifyEvent@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:10377
f</t</h.prototype._setValue@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:8515
f</t</h.prototype._int@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6961
h@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6472
k@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:29118
l</k._jQueryInterface/<@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22218
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
l</k._jQueryInterface@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22079
@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22592
dispatch@https://code.jquery.com/jquery-3.2.1.min.js:3:10264
add/q.handle@https://code.jquery.com/jquery-3.2.1.min.js:3:8326
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:5626
trigger/<@https://code.jquery.com/jquery-3.2.1.min.js:4:6130
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:6109
f</t</h.prototype._notifyEvent@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:10377
f</t</h.prototype._setValue@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:8515
f</t</h.prototype._int@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6961
h@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6472
k@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:29118
l</k._jQueryInterface/<@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22218
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
l</k._jQueryInterface@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22079
@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22592
dispatch@https://code.jquery.com/jquery-3.2.1.min.js:3:10264
add/q.handle@https://code.jquery.com/jquery-3.2.1.min.js:3:8326
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:5626
trigger/<@https://code.jquery.com/jquery-3.2.1.min.js:4:6130
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:6109
f</t</h.prototype._notifyEvent@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:10377
f</t</h.prototype._setValue@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:8515
f</t</h.prototype._int@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6961
h@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6472
k@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:29118
l</k._jQueryInterface/<@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22218
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
l</k._jQueryInterface@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22079
@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22592
dispatch@https://code.jquery.com/jquery-3.2.1.min.js:3:10264
add/q.handle@https://code.jquery.com/jquery-3.2.1.min.js:3:8326
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:5626
trigger/<@https://code.jquery.com/jquery-3.2.1.min.js:4:6130
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
trigger@https://code.jquery.com/jquery-3.2.1.min.js:4:6109
f</t</h.prototype._notifyEvent@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:10377
f</t</h.prototype._setValue@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:8515
f</t</h.prototype._int@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6961
h@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:6472
k@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:6:29118
l</k._jQueryInterface/<@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22218
each@https://code.jquery.com/jquery-3.2.1.min.js:2:2713
each@https://code.jquery.com/jquery-3.2.1.min.js:2:1001
l</k._jQueryInterface@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22079
@http://localhost:8092/assets/tempusdominus-bootstrap-4.min.js?compile=false:7:22592
undefined

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
klose91commented, Jun 1, 2018

@ppazos Ah, that’s why it didn’t close after clicking outside the input box… But that can’t be the solution, I mean, you need to be able set the field before initialization if you want to edit an entry in the program…

1reaction
klose91commented, May 26, 2018

@ppazos How did your input box looked like?

I did it like this:

.input-group
  input.form-control.datetimepicker-input(id='vry', name='vry', data-target="#vry", data-toggle="datetimepicker", autocomplete="off", value=vry)
    .input-group-append
      span.input-group-text
        span.fas.fa-calendar

Like it was shown in the example on the docs:

<input type="text" class="form-control datetimepicker-input" data-target="#datetimepicker1"/>

After removing the datetimepicker-input class everything worked fine again, somehow. The CLASS function with the regex failed saying the regex is too big.

Read more comments on GitHub >

github_iconTop Results From Across the Web

InternalError: too much recursion - JavaScript - MDN Web Docs
The JavaScript exception "too much recursion" or "Maximum call stack size exceeded" occurs when there are too many function calls, or a function...
Read more >
jQuery datetimepicker too much recursion error - Stack Overflow
If I just use the jquery datepicker (no time component), I don't get this error at all. I assume there could be an...
Read more >
tempusdominus - Bountysource
If you reload the page, "No Icon" won't work and a 'too much recursion' error will occur. Can be observed on https://tempusdominus.github.io/bootstrap-4/Usage/.
Read more >
Resolve "Too Much Recursion" Error when Using Jquery ...
inside a jquery modal dialog. Then when I clicked on an image from the modal dialog, it opens another modal window to see...
Read more >
Browse Javascript Technical Problem Clusters - Code Grepper
c# get json object from the immediate window? jquery remove option by value · react disable autocomplete · jquery clear select options ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found