Level 58
To pass the date value to the hidden input field, you can use the v-model directive to bind the date value to the hidden input field. Here's an example:
<input type="hidden" name="inputDate" id="inputDate" v-model="date">
This will bind the date value to the hidden input field, so whenever the date value changes, the hidden input field will be updated automatically.
Make sure to remove the existing input element with type="text" to avoid conflicts.
<!-- Remove this -->
<input type="text" name="inputDate" id="inputDate">