Date Picker Customization in v2

SystemSystem 🛠️ 
This discussion was created from comments split from: Override the standard date picker.
1
1 votes

Awaiting Review · Last Updated

Comments

  • Thanks for sharing, Kaede. It looks like this datepicker code isn't compatible with v2, but it does work with v1 inside and outside of Lightning.

    Specifically the bit that v2 doesn't like is the

    $.datepicker.setDefaults({

    beforeShowDay: onlyWeekends,

    });

  • Skuid v2 fields don't use the jQuery UI datepicker, so customization is handled differently than in v1.

    Specific use case: You can create a datepicker in v1 that only allows weekends to be selected. Currently unable to recreate in v2. (@Kaede Holland feel free to weigh in on your use case and what you'd like to see here).

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!