146
Views
5
Comments
[flatpickr] [flatpickr] Does it work inside popups?
Question
flatpickr
Web icon
Forge asset by Samuel Nunes Marques

Hi Samuel,

I was wondering if your component would work inside a popup not so big... 

I've seen calendar inputs inside popups with odd behaviors.

Can you add an example for popup?


Thanks,

João Heleno

2020-10-02 21-47-41
Samuel Nunes Marques

Hi João,

That is a well-known issue that affects multiple widgets, even from RichWidgets or WebPatterns. However, there are several threads about this problem as well as several functional solutions.
I fully understand your question, but I see this as an application design issue and not a problem of the component itself.

My best regards,
Samuel

UserImage.jpg
Hitesh Vasnani

HI Samue,

im using your component and i think its really great however, im trying to format the date and use it for comparison it cannot seem to work could u please advise me ?

i did try to edit the advanced options however was unsuccessful could you please kindly guide me?


thanks,

Best regards,

hitesh

2020-10-02 21-47-41
Samuel Nunes Marques

Hitesh Vasnani wrote:

HI Samue,

im using your component and i think its really great however, im trying to format the date and use it for comparison it cannot seem to work could u please advise me ?

i did try to edit the advanced options however was unsuccessful could you please kindly guide me?


thanks,

Best regards,

hitesh


Hi Hitesh Vasnani

Can you explain me better what are you trying to achieve? You change the date format and now you want to compare with what? Are you doing some server logic?

Regards,
Samuel

UserImage.jpg
Hitesh Vasnani

Samuel M. wrote:

Hitesh Vasnani wrote:

HI Samue,

im using your component and i think its really great however, im trying to format the date and use it for comparison it cannot seem to work could u please advise me ?

i did try to edit the advanced options however was unsuccessful could you please kindly guide me?


thanks,

Best regards,

hitesh


Hi Hitesh Vasnani

Can you explain me better what are you trying to achieve? You change the date format and now you want to compare with what? Are you doing some server logic?

Regards,
Samuel

Hi Samuel


i manage to find the configuration for a more human readable date.


thanks for your help once again.


Best regards,

Hitesh


2020-05-21 21-48-15
Sefai SARISAKAL


Please try this code.

"<script>$('.flatpickr-input:visible').prop('readonly', false)</script>"
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.