Correct year length validation

This commit is contained in:
George Drummond
2019-01-28 09:45:14 -05:00
parent 1143a34bda
commit 24dd55acd9

View File

@@ -50,7 +50,7 @@
<label>Year</label>
<input
id="date-year"
maxlength="2"
maxlength="4"
type="number"
v-model="year"
{% if maxdate %}max="{{ maxdate.year }}"{% endif %}