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

PnP SPFx DateTimePicker Clear Date functionality #799

Closed
dineshtalekar777 opened this issue Feb 15, 2021 · 8 comments
Closed

PnP SPFx DateTimePicker Clear Date functionality #799

dineshtalekar777 opened this issue Feb 15, 2021 · 8 comments
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:bug
Milestone

Comments

@dineshtalekar777
Copy link

As a end I don't have feasibility to clear the selected date with the PnP SPFx DateTimePicker control. Could some one please help on this if this is already fixed

@ghost
Copy link

ghost commented Feb 15, 2021

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Feb 15, 2021
AJIXuMuK added a commit that referenced this issue Feb 20, 2021
@AJIXuMuK AJIXuMuK added status:fixed-next-drop Issue will be fixed in upcoming release. type:bug and removed Needs: Triage 🔍 labels Feb 20, 2021
@AJIXuMuK AJIXuMuK added this to the 2.5.0 milestone Feb 20, 2021
@AJIXuMuK
Copy link
Collaborator

Hi @dineshtalekar777,
Thank you for reporting this one!

The fix has been merged and will be included in the next release.

In a meanwhile you can test the functionality in beta version.

@estruyf estruyf mentioned this issue Mar 2, 2021
@AJIXuMuK
Copy link
Collaborator

AJIXuMuK commented Mar 2, 2021

v2.5.0 has been released.

@AJIXuMuK AJIXuMuK closed this as completed Mar 2, 2021
AJIXuMuK added a commit that referenced this issue Apr 11, 2021
Fix #799 React error in FileBrowser paging
@lexschulz
Copy link

Hi Alex,

I upgraded my version of spfx-controls-react to 2.7.0 but it's not possible to clear the date.
I am not sure what to do now. Greetings

v2.5.0 has been released.

@AJIXuMuK
Copy link
Collaborator

AJIXuMuK commented Jun 8, 2021

@lexschulz - how are you clearing the date?

@lexschulz
Copy link

@lexschulz - how are you clearing the date?

Hi Alex,
I can only select a date or click "Today" but there is no way to delete the value that's in the field so that it's an empty field again.
I thought that I can mark and delete the date ... or can select "Delete" like the "Go to today" link... but after upgrading from 2.3.0 to 2.7.0 it's still not possible.
The onchange event only triggers when I select a date, so I have no idea how to clear an existing date. Thanks for your response!

@AJIXuMuK
Copy link
Collaborator

AJIXuMuK commented Jun 8, 2021

@lexschulz - there no UI to clear the date. But you can pass an empty date to the props of the control to clear it.
That's by design.

@lexschulz
Copy link

@lexschulz - there no UI to clear the date. But you can pass an empty date to the props of the control to clear it.
That's by design.

OK. Thank you for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:bug
Projects
None yet
Development

No branches or pull requests

3 participants