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

feat(datepicker): pass options from popup to inline #5355

Closed

Conversation

wesleycho
Copy link
Contributor

  • Pass through options object wholesale from popup to inline datepicker

BREAKING CHANGE: This breaks any snake-cased key usage, i.e.
show-weeks. Convert all keys used to camelCase.

- Pass through options object wholesale from popup to inline datepicker

BREAKING CHANGE: This breaks any snake-cased key usage, i.e.
`show-weeks`. Convert all keys used to camelCase.
@wesleycho wesleycho force-pushed the feat/datepicker-popup-options branch from e2144cf to d5f3f06 Compare January 27, 2016 12:54
@Foxandxss
Copy link
Contributor

What is the reasoning of having datepickerMode in a separate way?

@wesleycho
Copy link
Contributor Author

The reason is because it is already optionally two-way bound in the inline datepicker as a separate attribute. Probably need to clean that up, but doing that now would be a slightly bigger change.

I'm fine with making it - what do you think?

@Foxandxss
Copy link
Contributor

What I don't see is how the inline datepicker picks that mode from how you put it here.

@wesleycho
Copy link
Contributor Author

It's mainly meant for reading

@Foxandxss
Copy link
Contributor

LGTM

@wesleycho wesleycho modified the milestones: 1.2.0, 1.1.2 Jan 28, 2016
@wesleycho wesleycho closed this in 3e10184 Feb 1, 2016
@wesleycho wesleycho deleted the feat/datepicker-popup-options branch February 1, 2016 17:11
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