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

DateTimePicker does not respect isMonthPickerVisible prop #283

Closed
robert-lindstrom opened this issue Apr 26, 2019 · 2 comments
Closed

DateTimePicker does not respect isMonthPickerVisible prop #283

robert-lindstrom opened this issue Apr 26, 2019 · 2 comments
Milestone

Comments

@robert-lindstrom
Copy link
Contributor

Category

[ ] Enhancement

[x ] Bug

[ ] Question

Version

Please specify what version of the library you are using: 1.13.0

Expected / Desired Behavior / Question

Setting the isMonthPickerVisible prop to false should make the month picker not appear.

Observed Behavior

Month picker always appears irrespective of the value of the isMonthPickerVisible prop.

Steps to Reproduce

Setting isMonthPickerVisible to false as below has no effect

<DateTimePicker
  label="MyLabel"
  isMonthPickerVisible={false}
  onChange={(value) => console.log("DateTimePicker value:", value)}
/>
@estruyf
Copy link
Member

estruyf commented May 17, 2019

Will be available in version 1.13.2 and can already be tested out in the latest beta. More information about how you can test out a beta version can be found here: https://sharepoint.github.io/sp-dev-fx-controls-react/beta/

@estruyf
Copy link
Member

estruyf commented May 22, 2019

This has just been released in the version 1.13.2.

@estruyf estruyf closed this as completed May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants