Skip to content

Support for minDate and maxDate #6

@danielbsig

Description

@danielbsig

It would be really nice to have support for the minDate and maxDate properties, just like the native library has. Also, if ng-change was implemented, it would be possible to use two datepickers on the same page: Start and End. Specifying a value in the Start date picker would set the minDate for the End picker, and setting the value of the End picker would set the maxDate for the Start picker (see http://eonasdan.github.io/bootstrap-datetimepicker/#example9 - "Linked pickers").

I'm looking into this myself, but am having problems with isolated scope (may not be necessary, but that is the way I know how to do it. Besides, having a separate scope for the directive sounds cleaner to me).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions