Missing values from 2nd page onwards when using moment.js

Missing values from 2nd page onwards when using moment.js

guillermohs9guillermohs9 Posts: 1Questions: 1Answers: 0

Hi, I'm using datatables (latest from CDN) on a couple of Flask projects and it works great. I'm only seeing one issue:
Flask renders Jinja templates, and when using moment to render date values, these values are missing from the 2nd page onwards. If sorted, the missing values will appear on any row.
For now, I was able to pass the values from backend.
I'll be trying to set up something to demonstrate this issue.
I mostly thought of letting people know in case anybody's using Flask, datatables, Jinja and Moment.js (through flask-moment pacakge). It's a bit of a corner case maybe, but still.
Cheers

Answers

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

    This section of the FAQ should help, it sounds like a delegated event problem. If not, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.