Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
Default View Date in igx-date-picker dialog
posted

Please refer to above image. When date picker is opened it focuses on the current date if no date is set already. Is there any way to update this date?

Parents
No Data
Reply
  • 700
    Offline posted

    Hello Shahab,

    Thank you for posting in our community!

    I have been looking into your question and what I could say is that by default on dropdown/dialog opening, if no date has been selected, the focused/highlighted date will be the current date, i.e., today.

    Additionally, the IgxDatePicker provides some calendar specific customizations, such as displayMonthsCount, weekStart, showWeekNumbers, etc., however, as mentioned in the IgxDatePicker’s specifications here, highlight of today's date is not included. This is the expected behavior and is not customizable.

    A possible approach is setting the minValue property which will focus the desired date, however, it will not allow selecting a date before this value.

    Please let me know if you need any further assistance regarding this matter.

    Looking forward to your reply.

    Sincerely,
    Riva Ivanova
    Associate Software Developer

Children
No Data