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 - clear date #1218

Merged
merged 1 commit into from
Jun 3, 2022
Merged

Conversation

RicoNL
Copy link
Contributor

@RicoNL RicoNL commented May 20, 2022

Q A
Bug fix? [ ]
New feature? [X]
New sample? [ ]
Related issues? fixes #1217

What's in this Pull Request?

Additional icon-button outside the datetime-picker which allows the user to clear the selected date by setting the day to null in state of datetimepicker.tsx . When no date is selected, the button is not visible. The used icon for the button is configurable, defaults to 'RemoveEvent'.

image

@joelfmrodrigues joelfmrodrigues merged commit a385c67 into pnp:dev Jun 3, 2022
@joelfmrodrigues
Copy link
Collaborator

@RicoNL many thanks and sorry for the delay, this has now been merged

@joelfmrodrigues joelfmrodrigues added this to the 3.9.0 milestone Jun 3, 2022
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