mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Set a max date attribute for date input fields to prevent/discourage them going over 4 characters (client side validation)
This commit is contained in:
@@ -47,7 +47,7 @@ $key = keygen();
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-calendar"></i></span>
|
||||
</div>
|
||||
<input type="date" class="form-control" name="expire" required>
|
||||
<input type="date" class="form-control" name="expire" max="2999-12-31" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user