fix builder default date format

This commit is contained in:
Pete Matsyburka
2025-03-03 11:24:38 +02:00
parent 23dcd62672
commit 55ad70fabc
+2 -3
View File
@@ -1338,9 +1338,8 @@ export default {
}
if (field.type === 'date') {
field.preferences = {
format: this.defaultDateFormat
}
field.preferences ||= {}
field.preferences.format ||= this.defaultDateFormat
}
}