question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DatePicker: lazy load disabled dates

See original GitHub issue

As explained in https://github.com/primefaces/primefaces/issues/6277 I would like to be able to lazy load disabled dates on viewChange. Also, I’m thinking of adding date CSS styles / colors / classes to dates later. This is also something which should be lazy loadable. So, I was thinking of adding a DateMetaData object which could contain stuff like disabled and styleClass.

@melloware can you assign this issue to me, please?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
jepsarcommented, Oct 15, 2020

I think I found the solution in the data table JavaScript.

1reaction
mellowarecommented, Oct 8, 2020

Done! Don’t know how i missed that!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable dates before today date in ... - Stack Overflow
Get the DatePicker used in your DatePickerDialog with the getDatePicker() method and use the setMinDate(Long millis) method. Pass to it the minimum date...
Read more >
Date Picker - User Experience Guide - Department of Labor
To implement additional options such as to disabling the date picker, a custom function must implemented through the use of lazy load.
Read more >
Vue 3 datepicker. supports disabling, highlighting of dates and ...
Dates can be disabled in a number of ways. <script> var state = { disabledDates: ...
Read more >
Beautiful Date Picker Component - MCDatepicker - CSS Script
3 Modes: Modal, Inline, Or Permanent · Custom weekdays and month names. · Allows you to add custom events to dates. · Allows...
Read more >
Bootstrap Datepicker - examples & tutorial - MDBootstrap
Disable past. Use the disablePast option to disallow past date selection. Select a date.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found