ratiw / vuetable-2-tutorial

MIT License
258 stars 67 forks source link

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

Open ErnstShackleton opened 7 years ago

ErnstShackleton commented 7 years ago

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,

ratiw commented 7 years ago

@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.

ErnstShackleton commented 7 years ago

@ratiw Thanks ratiw!