You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above dvjs doesn't seem to be working in Live Preview, if I click on the task to be completed Status will no update, the only time it will update is if I close the file and open the file again, then it will update or if I go to edit the dvjs and the escape out of it it will update.
Is there a way to make this work to update automatically in Live Preview?
Note:
if I use ```dataviewjs it will work to update with a small delay.
also, it works in read view as expected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have searched high and low and couldn't find answer to this.
Status:
$= const value = Math.round(((dv.current().file.tasks.where(t => t.completed).length) / (dv.current().file.tasks).length) * 100); "<progress value='" + value + "' max='100'></progress>" + " " + value + "% | " + (dv.current().file.tasks.length - dv.current().file.tasks.where(t => t.completed).length) + " left"
The above dvjs doesn't seem to be working in Live Preview, if I click on the task to be completed
Status
will no update, the only time it will update is if I close the file and open the file again, then it will update or if I go to edit thedvjs
and the escape out of it it will update.Is there a way to make this work to update automatically in Live Preview?
Note:
if I use ```dataviewjs it will work to update with a small delay.
also, it works in read view as expected.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions