Skip to content

Commit a9fd296

Browse files
author
edencoder
committed
fix date field
1 parent 080dfce commit a9fd296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bundles/form/views/field/date/view.riot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
getValue(props) {
2222
// check value
2323
if (!props.value) return '';
24+
if (!props.value.start) return '';
2425
2526
// get date
2627
const check = new Date(props.value);

0 commit comments

Comments
 (0)