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

change event state from published to draft when date is cleared #2266

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

helihard
Copy link
Collaborator

Description

This PR changes the event state from published to draft when user clears the date field in the date picker.

Screenshots

published-to-draft.mov

Related issues

Resolves #2264

@helihard
Copy link
Collaborator Author

SORRY! Realised I might have created another bug, will give it another look when I get home.

@helihard
Copy link
Collaborator Author

helihard commented Oct 16, 2024

Yes, I had actually created a new bug. That is hopefully fixed now.

(I noticed that if the user deletes the date in the input field – instead of clicking on the icon – and then clicks outside the date picker, the date remains unchanged. Deleting the date in that way would probably be by mistake anyway so I don't think it's a problem!)

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.

Event state remains as scheduled when changing visibility to 'not visible or scheduled'
1 participant