Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(datepicker): allow using min/max mode/date with datepickerOptions #5334

Closed
wants to merge 1 commit into from

Conversation

Foxandxss
Copy link
Contributor

So I changed datepickerOptions to be processed on the scope directly, that way we can achieve two-way databinding for free.

Now, all the options that are not watchable are put directly and the watchables are put in a way that if they change, the change will be propagated.

As today, attrs overrides options, but that if another PR and another issue.

Fixes #5315

@wesleycho
Copy link
Contributor

LGTM

@wesleycho wesleycho added this to the 1.1.1 milestone Jan 23, 2016
@wesleycho wesleycho closed this in 97af6a9 Jan 24, 2016
@Foxandxss Foxandxss deleted the fix/datepickeroptions branch January 24, 2016 11:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants