Skip to main content
Nintex Community Menu Bar

Date Picker Customization in v2

  • July 8, 2024
  • 2 replies
  • 14 views

Forum|alt.badge.img

This discussion was created from comments split from: Override the standard date picker.

This topic has been closed for replies.

2 replies

annajosephine
Nintex Employee
Forum|alt.badge.img+18

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,

});


annajosephine
Nintex Employee
Forum|alt.badge.img+18

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).