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

fix(datepicker): dereference date initialization #5643

Closed

Conversation

wesleycho
Copy link
Contributor

  • Dereference the date set to active date to prevent model automatically
    updating from equal reference

Plunker with fix in action here.

This fixes #5441

@deeg
Copy link
Contributor

deeg commented Mar 17, 2016

LGTM if you don't want any tests

@wesleycho
Copy link
Contributor Author

I guess I can add a test for this - I'll do so sometime today or tomorrow.

- Dereference the date set to active date to prevent model automatically
  updating from equal reference
@wesleycho wesleycho force-pushed the fix/datepicker-model-ref branch from b696389 to 4a001a0 Compare March 18, 2016 14:42
@wesleycho
Copy link
Contributor Author

Test added.

@wesleycho wesleycho closed this in 1b888d4 Mar 18, 2016
@wesleycho wesleycho deleted the fix/datepicker-model-ref branch March 18, 2016 18:28
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.

Datpicker Popup next month prematurely updates date model value
3 participants