Hello Info,
not sure if my statement is right, but your issue could caused by the missing “dataset.onReady”-command.
You should alwasy use it when working with datasets. The dataset has first to be loaded /updated kompletely, bevor access it (do a query).
Perhaps this will help…
$w.onReady( () => {
$w("#dataset1").onReady( () => {
// . . . and then your CODE here . . .
} );
} );