Skip to content

Commit 8080338

Browse files
committed
Update time regex, new form screenshot
1 parent 3446bc3 commit 8080338

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

dist/js/field.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/components/TimeInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
3030
computed: {
3131
isValid: function () {
32-
const re = /([0-1]{1}[0-9]{1}|[20-24]):[0-5]{1}[0-9]{1}/;
32+
const re = /([0-1]{1}[0-9]{1}|[20-23]):[0-5]{1}[0-9]{1}/;
3333
// console.log(this.time, re.test(this.time))
3434
return re.test(this.time);
3535
}

screenshot-form.png

60.7 KB
Loading

0 commit comments

Comments
 (0)