Uncaught Error adding field - unknown field type datatable

Uncaught Error adding field - unknown field type datatable

baktorbaktor Posts: 6Questions: 2Answers: 0
edited May 2022 in Editor

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

  • baktorbaktor Posts: 6Questions: 2Answers: 0

    Update: only in firefox, in chrome works well...

  • baktorbaktor Posts: 6Questions: 2Answers: 0

    the browser has cached the old js files

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    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

Sign In or Register to comment.