app: checkmark bij datumkiezer

This commit is contained in:
Peter Kleiweg
2026-05-27 23:19:30 +02:00
parent 5c651387af
commit 7f23212fc3
2 changed files with 10 additions and 1 deletions

View File

@@ -74,7 +74,8 @@
<div class="option" id="week"> <div class="option" id="week">
week: week:
<input type="date" id="fDate" name="date" step="7" /> <input type="date" id="fDate" name="date" step="7" /><span
class="validity"></span>
</div> </div>
<button type="button" onclick="kies()" id="fSubmit" disabled> <button type="button" onclick="kies()" id="fSubmit" disabled>

View File

@@ -167,3 +167,11 @@ tr.last td {
tr.first td { tr.first td {
padding-top: 0.5em; padding-top: 0.5em;
} }
#fDate:invalid + span::after {
content: ' ✖';
}
#fDate:valid + span::after {
content: ' ✓';
}