Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datepicker doesn't switch month panel when updating model #97

Closed
pbaille opened this issue May 26, 2016 · 2 comments
Closed

datepicker doesn't switch month panel when updating model #97

pbaille opened this issue May 26, 2016 · 2 comments
Labels

Comments

@pbaille
Copy link

pbaille commented May 26, 2016

When i swap! the model of a datepicker to a Date not in the current month, the UI remain on the same month I have to switch month manually to retreive the selection.

@Frozenlock
Copy link
Contributor

Frozenlock commented Aug 10, 2016

I just noticed the same thing.
I wanted to use the datepicker to show a given date, but the visible month does not update when the model atom is updated.

As an aside, I also noticed that adding :disabled? true will not remove deactivate the month-selection arrows.

Edit: Would it be better to create a whole new component (re-using some parts of datepicker) to show dates on a calendar?

@Frozenlock
Copy link
Contributor

Here's the "bug" in action :

calendar-not-showing-current-date

(I know @Gregg8 already referenced this issue, but I just wanted to make it clear.)

@Gregg8 Gregg8 added the bug label Nov 24, 2016
@Gregg8 Gregg8 closed this as completed in 7b1cca6 Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants