I have been attempting to apply minimum and maximum values to an Angular code snippet, here is what I have:
<input type="date"
class="form-control"
style="width: 30%"
[disabled]="!dateSent"
min="{{dateSent|date:'yyyy-MM-dd'}}"
max="{{todaysdate|date:'yyyy-MM-dd'}}"
#myDate
[value]="dateReceived | date:'yyyy-MM-dd'"
(input)="dateReceived=$event.target.value" />
The values of 'dateSent' and 'todaysdate' are identical.
dateSent=1527445800000 and todaysdate=1527445800000 can any one help me and the out put is like this
https://i.sstatic.net/NqBDc.png
Thank you for taking the time to read and consider my question.