Skip to content

Commit

Permalink
Adding clarification that end date can be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Jul 16, 2024
1 parent 74cd6c6 commit 9d1e3cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/officer.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
</div>
</div>
<div class="field">
<label class="label" for="endDate">End date</label>
<label class="label" for="endDate">End date — can be left empty</label>
<div class="control">
<input
type="date"
Expand Down
5 changes: 4 additions & 1 deletion templates/officers.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
</div>
</div>
<div class="field">
<label class="label" for="endDate">End date</label>
<label class="label" for="endDate">End date — can be left empty</label>
<div class="control">
<input
type="date"
Expand Down Expand Up @@ -307,6 +307,9 @@
calendar.on('select', date => {
console.log(date);
});
calendar.clear();
calendar.save();
calendar.refresh();
}
});
}
Expand Down

0 comments on commit 9d1e3cb

Please sign in to comment.