Skip to content

Conversation

@jcloquell
Copy link
Contributor

This PR fixes some issues related to the allowEditing prop that was recently added to the Date Picker Header:

  1. Prevents it from being always true regardless the value that was actually passed.
  2. Uses the allowEditing prop correctly to decide if the edit button should be displayed or not. Before, an unused inputDate prop, which was always undefined, was making the edit button not to be rendered at all, regardless of the props being passed to the component for this purpose.

@RichardLindhout
Copy link
Member

Thanks @jcloquell!

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

Successfully merging this pull request may close these issues.

2 participants