material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[MaterialDatePicker] Adding an optional 'Clear' button

Open DvTonder opened this issue 3 years ago • 5 comments

This change adds an optional 'Clear' button that can be used to remove the selected date with the option to calling a clear listener and dismissing the dialog when clicked.

closes #1332

Note: This is the same code as previously submitted as a pull request but it has been rebased against the latest codebase as of 18 December 2022

DvTonder avatar Dec 18 '22 17:12 DvTonder

I have updated the full screen date picker to support the clear function

DvTonder avatar Apr 22 '23 21:04 DvTonder

Can you rebase your cl on the head of the repository?

There seems some merge problem when I pulled it for our internal review.

drchen avatar Apr 24 '23 15:04 drchen

It was a bit messy with a force push but I managed to rebase to the HEAD. Should be good now

DvTonder avatar Apr 24 '23 16:04 DvTonder

It seems working now. Thank you! : )

drchen avatar Apr 24 '23 16:04 drchen