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.

Hi!

I can’t get the max-date functionality to work on my project. I’ve tried several ways to pass the maxDate variable (set to current day = new Date() ) but nothing happens.

This is my markup:

div class="date-picker" id="calendar_to" date-picker="calendar_to" watch-direct-changes date after="calendar_from" before="calendar_to" min-view="date" max-view="date" max-date></div>

I tried max-date=“maxDate”, max-date=“{{maxDate}}”, max-date=“{maxDate}”, max-date=“{new Date()}”, etc…

And I tried declaring maxDate in the controller and in a directive.

Which is the right way to do this? Haven’t found a a solution in the documentation nor in the various issues reported.

Any help out there?

Thanks

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
amylauncommented, Mar 15, 2016

@miguelRivero Can you please explain how you got it to work? I am having the same problem.

1reaction
miguelRiverocommented, Feb 23, 2016

I managed to make it work. Now I’, struggling to recover the isbefore, isafter functionality, that seems lost in new version. Is it? But maybe this is material for another issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MAXDATE Function - Trifacta Documentation
Computes the maximum value found in all row values in a Datetime column. If a row contains a missing or null value, it...
Read more >
MaxDate - SAP Help Portal
This is a read-write property of the SAPCalendar.Calendar library. This property allows you to set a maximum limit to display a date till...
Read more >
Solved: Help with Max date - Power Platform Community
I've built everything thus far buy watch YouTube videos and Google searches. My current issue is how to return the Max date or...
Read more >
MaxDate Property - Infragistics Windows Forms™ Help
This example uses the MinDate and MaxDate properties to restrict the range of dates accepted by the control to dates that fall within...
Read more >
Max date for each year - Microsoft Power BI Community
Need some help on the below issues. I have the below tables with me and want to find out the max date for...
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