Skip to content

Can I hide or disable today button at actions bar? #5881

Answered by adidahiya
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Is this for a single date picker or a date range picker?

Yes, you can supply your own shortcuts to override the default shortcuts... it should be an array of objects adhering to the IDatePickerShortcut interface:

export interface IDatePickerShortcut extends IDateShortcutBase {

if you want to take our default shortcuts and just remove one, you can look at this function for reference:

function createDefaultShortcuts(

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adidahiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #3942 on January 24, 2023 15:12.