This PR fixes some issues related to the allowEditing prop that was recently added to the Date Picker Header:
Prevents it from being always true regardless the value that was actually passed.
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.
This PR fixes some issues related to the
allowEditing
prop that was recently added to the Date Picker Header:true
regardless the value that was actually passed.allowEditing
prop correctly to decide if the edit button should be displayed or not. Before, an unusedinputDate
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.