Uncaught Error adding field - unknown field type datatable
Uncaught Error adding field - unknown field type datatable
Hi,
I'd like to use datatables as a single select, but I got an error:
Uncaught Error adding field - unknown field type datatable jquery-3.6.0.js:4059:3
jQuery 23
readyException
(Aszinkron: setTimeout handler)
readyException
ready
mightThrow
process
I have a purchased version, using the newest jquery, Editor, etc.
{
label: "Site:",
name: "mozgaslista.cikkid",
type: "datatable"
}
It works with "select".
Thank you for your help,
Viktor
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
Answers
Update: only in firefox, in chrome works well...
the browser has cached the old js files
The
datatable
field type was added in Editor 2.0 - are you using this version or 1.x? If you are on 2.x, it would be worth ensuring you have the same JS libraries, and in the same order, as this example - you'll see the list below the Javascript tab below the table.Colin