Doesnt load the table: Uncaught TypeError: Cannot convert object to primitive value
See original GitHub issueHi all,
I haven’t been able to load any kind of bootstrap-table code. Not even the examples on the website. I keep getting the same javascript error:
bootstrap-table.min.js:10 Uncaught TypeError: Cannot convert object to primitive value
at Object.setFieldIndex (bootstrap-table.min.js:10)
at e.value (bootstrap-table.min.js:10)
at e.value (bootstrap-table.min.js:10)
at new e (bootstrap-table.min.js:10)
at HTMLTableElement.<anonymous> (bootstrap-table.min.js:10)
at Function.each (jquery.min.js:2)
at w.fn.init.each (jquery.min.js:2)
at w.fn.init.t.fn.bootstrapTable (bootstrap-table.min.js:10)
My dependencies are correct; the jquery and the bootstrap library load well in the browser from the CDNs(otherwise it wouldnt recognize them here).
Im using version 1.15
I am using W10, and Chrome 76.0.3809.100 .
Please, any help would be appreciated
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Cannot convert object to primitive value - Stack Overflow
causes this error because + "" basically means the same as calling the method toString() of the value to which you try to...
Read more >Cannot convert object to primitive value with imported json
I'm trying to dynamically build a vuetify component in a nuxt project (Using different text values with vuetify component) by importing and iterating...
Read more >Object to primitive conversion - The Modern JavaScript Tutorial
So, when the conversion looks for a toString function in obj , if it doesn't find it there then it keeps looking for...
Read more >typeerror: cannot convert object to primitive value - You.com
Open side panel. Uploading an image into node.js server and using sql and i get this error: TypeError: Cannot convert object to primitive...
Read more >cannot convert object to primitive value node js json
Doesnt load the table: Uncaught TypeError: Cannot convert object to primitive value 2 participants Add this suggestion to a batch that can be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem and I think the right solution for it will be to take jquery@3.4.1 like it’s stated in bootstrap 4.4 documentation.
thanks a lot @StanislavNemytov, I had jquery 3.50…I lost many hours try to fix my issue…I take jquery@3.4.1 and it’s works