We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d263f01 commit cd7a751Copy full SHA for cd7a751
1 file changed
resources/js/components/fieldtypes/DateFieldtype.vue
@@ -119,6 +119,11 @@ export default {
119
},
120
121
datePickerUpdated(value) {
122
+ // Clearing the date on a required Date field should set the date/time to now.
123
+ if (!value && !this.isRange && this.config.required) {
124
+ return this.addDate();
125
+ }
126
+
127
if (!value) {
128
return this.update(null);
129
}
0 commit comments