I'm struggling with a Flatpickr's (https://chmln.github.io/flatpickr/) onDayCreate event. Is here anyone who knows better how to check if picker's date object matches any date in my array of dates?  I have an array (or array of objects, n...
I have a flatpickr angular component that I use to save a date with Format:   <input ng-flatpickr class="flatpickr" fp-opts="$ctrl.dateOpts" fp-on-setup="$ctrl.dateDebutSetup(fpItem)" ng-model="$ctrl.selected.selectedDa...
I am using Flatpickr for my date picker. however, when i select today's date, i want the result to be displayed as "Today".  jQuery(".datepicker").flatpickr({     wrap: true,     altInput: true,     altFormat: "F j, Y",...
I'm using Flatpickr for a field in my form called trigger_date:  .form-group   = label f, :trigger_date, class: "control-label"   = text_input f, :trigger_date, required: true, class: "form-control datetime-picker"   No matter whi...
I'm using the flatpickr calendar in a nested cocoon form. Everything functions as expected when creating a new form, but when I want to edit an existing form:   The first flatpickr field renders correctly Adding a new flatpickr field with cocoon...
I am using flat pickr and the date that gets given to the input would be as such:     01/02/1991 (Day 1 / Month Feb / Year 1991.   However when I add the class flatpickr it converts the date to:     02/01/1991   The american version of the date.   I...
I'm using flatpickr in React, and I'm having an issue after adding enableTime option, which is when clearing the input it automatically resets the input's date value.  Here's my code stackblitz DatePicker...
I am using flatpickr.js for my calendar. I want to disable some listed dates together with Saturdays and Sundays.  Disabling Sat and Sun works well using the following code. However for the listed dates, only the first date is disabled. Why not the r...
I'm using flatpickr calendar, but the calendar wont follow the input if calendar is opened and scrolled. So I did use static: true and it turns out good except on mobile which it'll hides the time input numbers and the year. Seems that the de...
I currently have a start date and end date date picker which gets pre-populated with dates on page load. If the user clicks the next button with out interacting with the date picker I cannot get the correct date thats in the picker and only the date...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.