Skip to content

How to bind an input dynamically based on day? #149

Answered by RomanMunar
RomanMunar asked this question in Q&A
Discussion options

You must be logged in to vote

🎉🎉🎉

```dataviewjs
const today = dv.date('today').toISODate()~~toFormat('yyyy-MM-dd')~~

dv.paragraph('```meta-bind' + `
INPUT[text:${today}#test]
`+'```')
```

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@RomanMunar
Comment options

Comment options

You must be logged in to vote
3 replies
@Nitero
Comment options

@RomanMunar
Comment options

@Nitero
Comment options

Answer selected by RomanMunar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants