vuetable-2-tutorial icon indicating copy to clipboard operation
vuetable-2-tutorial copied to clipboard

Error with api-url: "Maximum call stack size exceeded"

Open ErnstShackleton opened this issue 7 years ago • 2 comments

Hi to everyone, I'm using with vuetable2 and Laravel 5.4 and I have a problem with api-url calls. From the official example https://github.com/ratiw/vuetable-2-with-laravel-5.4 I tried to change a little the table, changing the columns and the api-url. In the api-url I put a route that return a json.

When I test the table I receive the error:

app.a7be721….js:98292 Uncaught RangeError: Maximum call stack size exceeded at VueComponent.Vue._render (app.a7be721….js:98292) at VueComponent.updateComponent (app.a7be721….js:96826) at Watcher.get (app.a7be721….js:97165) at new Watcher (app.a7be721….js:97148) at mountComponent (app.a7be721….js:96830) at VueComponent.Vue$3.$mount (app.a7be721….js:101957) at VueComponent.Vue$3.$mount (app.a7be721….js:104056) at init (app.a7be721….js:97745) at createComponent (app.a7be721….js:99288) at createElm (app.a7be721….js:99231)

Does anyone can help me? From the official example I have only change columns and api-url parameter.

Thank you very much,

ErnstShackleton avatar Jun 06 '17 10:06 ErnstShackleton

@ErnstShackleton There might be a loop somewhere in your code that causes the problem. Since, you're using a compiled version of the script, it's very hard to identify which as the error message is not very helpful.

ratiw avatar Jun 07 '17 00:06 ratiw

@ratiw Thanks ratiw!

ErnstShackleton avatar Jun 07 '17 13:06 ErnstShackleton