Problem/Motivation
There is a regression or bug when attempting to un-schedule content using a mobile device. If a node already has a "Publish on" date set, it is impossible to remove this date on mobile.
On a desktop browser, a user can clear the date field to remove the scheduling. However, on mobile, attempting to delete the date from the field does not work as expected.
This works correctly when creating a new node or setting a date for the first time; the issue is specifically regarding removing an existing date.
Steps to reproduce
- Create a node (on desktop or mobile) and set a "Publish on" date. Save the node.
- Switch to a mobile device.
- Edit the node created in step 1.
- Attempt to clear the date in the "Publish on" date field to cancel the schedule.
- Result: The date is not removed.
- Expected Result: The date should be removed, and the content should no longer be scheduled.
Comments
Comment #2
lambert commentedI have the same issue but on a laptop (Apple M1 Pro, Sonoma14.5, Drupal 11.3.8, Scheduler 2.2.2).
The "clear" button on the "Publish on" calendar restores the date field to "mm/dd/yyyy."
However, when I submit the post, I get the error message "The Publish on date is invalid. Enter a date in the correct format."