Instead of living in my daily journals, I’d like to try living in a dashboard with a date-picker that shows via dataviewjs selected data that’s been logged to the daily journals. Any examples of someone that’s done that already, or any ideas on how to make it work? I have functions that grab what I need based on a date variable, but don’t know how to implement the date-picker portion that would update the date variable and then tell the functions to refresh the display.
FYI, I found an easy way to do this. Install the Meta Bind plugin, and then add this code to the page (assuming the date is in a frontmatter property called ‘dashDate’:
```meta-bind
INPUT[datePicker:dashDate]
```
Then have any Dataviewjs functions pull the date value in from the frontmatter (dv.current().dashDate
), and make sure Dataview is set to allow refreshing.
1 Like
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.