Editor forms have stopped working.

Editor forms have stopped working.

SteveHippySteveHippy Posts: 6Questions: 1Answers: 0

Since updating dataTables/Editor. Editing a table from a bs modal will not focus on edit fields. Is there a problem ?
Should I go back to last release?
Regards

Answers

  • allanallan Posts: 64,010Questions: 1Answers: 10,554 Site admin

    I'm not aware of such a problem and the examples here appear to work okay.

    Can you link to a page showing the issue so I can take a look please?

    Allan

  • SteveHippySteveHippy Posts: 6Questions: 1Answers: 0

    This is on an intranet business site so unfortunately a can't share code. But I create a table in a bs modal and attach a standalone editor on the modal (this is all jquery) when there editor is activated with a button everything looks fine but I can't get focus on the text fields. There are just two fields both text. This all worked before I updated

  • SteveHippySteveHippy Posts: 6Questions: 1Answers: 0

    I did notice the editor elements are attached to body. Is there a way to attach to the modal

  • kthorngrenkthorngren Posts: 21,672Questions: 26Answers: 5,018

    Check the console for errors.

    but I can't get focus on the text fields

    Possibly a z-index issue?

    Can you build a simple test case that replicates the issue? This ssae test case should be loading Editor 2.4.0. Maybe you can modify it to replicate the issue.
    https://live.datatables.net/guwafemu/596/edit

    Kevin

  • SteveHippySteveHippy Posts: 6Questions: 1Answers: 0

    I have checked cosole and no errors
    funny thing is it works perfectly fine on my dev pc but as soon as its published it stops working.

  • allanallan Posts: 64,010Questions: 1Answers: 10,554 Site admin

    I did notice the editor elements are attached to body. Is there a way to attach to the modal

    Bootstrap does attempt to focus lock to the modal, so that might well be the issue. Are you able to create a test case showing the issue? You might be able to use this example as a starting point?

    Allan

Sign In or Register to comment.