-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
[Block] Post DateAffects the Post Date BlockAffects the Post Date Block[Feature] Block bindings[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
In block bindings UI for post date, if you have any source that contains string fields, those can be selected. Causing an "invalid date" error.
I would set the UI as ReadOnly for this use case.
Step-by-step reproduction instructions
- Register a couple of sources, or register post-meta.
- Add a post date.
- Check that on attributes, those sources can be selected. Select a string type that is not a date.
- Invalid date should appear.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Block] Post DateAffects the Post Date BlockAffects the Post Date Block[Feature] Block bindings[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Projects
Status
🦵 Punted to 7.0