Instead of using the
<label>{{list.createdat | date: 'dd.MM.yyyy'}}</label>
tag, I want to change it to an input tag to create a simple datepicker:
<input type="date"/>
The issue is that the data in the <label>
tag is parsed from the server, and I am unsure how to bind the <input>
tag with the list.createdat
.
What is the correct syntax to achieve this? Would it be like this?
<input type="date"/ {list.createdat | date: 'dd.MM.yyyy'}>
Ultimately, I am aiming for something like this: