Skip to content

Commit 4d6a82a

Browse files
committed
Fix code error
1 parent 010dfac commit 4d6a82a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/NewTodo.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ export default defineComponent({
102102
};
103103
},
104104
mounted() {
105-
const dueDateInput = document.getElementById("dueDate") as HTMLInputElement;
105+
const dueDateInput = document.getElementById(
106+
"due-date"
107+
) as HTMLInputElement;
106108
dueDateInput.min = currentLocalDate.toISOString().split("T")[0]; //task minimum due date must be today
107109
},
108110
methods: {

0 commit comments

Comments
 (0)