https://editor.datatables.net/examples/datatables/nested.html crash

https://editor.datatables.net/examples/datatables/nested.html crash

LapointeLapointe Posts: 430Questions: 81Answers: 4

Hi all
https://editor.datatables.net/examples/datatables/nested.html crash when adding a new entry with only name

This question has an accepted answers - jump to answer

Answers

  • LapointeLapointe Posts: 430Questions: 81Answers: 4

    and buttons associated with dt as input do nothing, or ?

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Yep, I'm seeing that, thanks for letting us know. I've raised it internally (DD-2678 for my reference) and we'll report back here when there's an update.

    Colin

  • allanallan Posts: 63,599Questions: 1Answers: 10,486 Site admin
    Answer ✓

    As Colin said, thank you! The workaround for the nested buttons not being clickable is:

    div.DTE_Field_Type_datatable div.dt-buttons {
      float: none;
    }
    

    This change will be in Editor 2.2.2, which I hope won't be too far away (just need to sort out some packaging issues).

    I've also added a set formatter to the demo to allow empty values (needs to be written as null to the database. This change will be deployed to the site shortly.

    Allan

  • parcivalparcival Posts: 28Questions: 8Answers: 0

    to use the workaround on the example site, you can inspect the page and add this to the body somewhere:

    <style>
    div.DTE_Field_Type_datatable div.dt-buttons {
      float: none;
    }
    </style>
    
Sign In or Register to comment.