From 0340858fc92bdea8705a98c80a1bb97e6c7d0639 Mon Sep 17 00:00:00 2001 From: Ko71k Date: Mon, 16 Dec 2024 21:09:56 +0300 Subject: [PATCH] value --- public/src/modules/handleEventsActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/handleEventsActions.js b/public/src/modules/handleEventsActions.js index 4870cf3..be3e32d 100644 --- a/public/src/modules/handleEventsActions.js +++ b/public/src/modules/handleEventsActions.js @@ -156,7 +156,7 @@ export async function handleCreateEventSubmit(event, pageToCome, navigate) { const tag = Array.from(document.getElementById('eventTagEntry').value.split(' '), (tag) => removeDangerous(tag)); const dateStart = removeDangerous(document.getElementById('eventBeginEntry').value) + ':00Z'; const dateEnd = removeDangerous(document.getElementById('eventEndEntry').value) + ':00Z'; - console.log(document.getElementById('categoriesInput').categories.value); + console.log(document.getElementById('categoriesInput').value); const categoryId = Number(removeDangerous(document.getElementById('categoriesInput').value)); const image = document.getElementById('imageInput').files[0];