Welcome Guest, Not a member yet? Register   Sign In
Tailwind datepicker
#1

Hi guys, im having one issue regarding tailwind datepicker, it posts the date to database with the value : 0000-00-00 00:00:00
On view is the following code
<input class="datepicker form-control" id="created_at" name="created_at" data-single-mode="true">
Reply
#2

@Lipe_Bogaci ,

Are you using the hidden date field too. Are you using this tailwind datepicker (https://tailwind-elements.com/docs/stand...atepicker/)? It has two input fields (the one that holds the actual date is hidden).
Reply
#3

(10-25-2021, 06:31 PM)php_rocs Wrote: @Lipe_Bogaci ,

Are you using the hidden date field too.  Are you using this tailwind datepicker (https://tailwind-elements.com/docs/stand...atepicker/)?  It has two input fields (the one that holds the actual date is hidden).

well i want to use the date selected from user
Reply
#4

(10-25-2021, 06:31 PM)php_rocs Wrote: @Lipe_Bogaci ,

Are you using the hidden date field too.  Are you using this tailwind datepicker (https://tailwind-elements.com/docs/stand...atepicker/)?  It has two input fields (the one that holds the actual date is hidden).
@php_rocs i get the issue only on posting. how to avoid this issue?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB