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

Date fieldtype: Ability to use time_enabled alongside mode: range #1250

Open
marcorieser opened this issue Oct 29, 2024 · 1 comment
Open

Comments

@marcorieser
Copy link

Bug description

I just discovered that a date field with mode: range and time_enabled: true does not show the time inputs.

Bildschirmfoto 2024-10-29 um 08 53 20

Not sure if that's a bug or a feature request.

How to reproduce

Add a date field to a blueprint like below and visit the entry edit form.

handle: booked_from_to
field:
  mode: range
  time_enabled: true
  type: date
  display: 'Booked from to'
  validate:
    - required

Logs

No response

Environment

Environment
Application Name: Statamic
Laravel Version: 11.29.0
PHP Version: 8.3.13
Composer Version: 2.7.7
Environment: local
Debug Mode: ENABLED
URL: statamic-gebetskalender.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.35.0 Solo

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

@duncanmcclean
Copy link
Member

Moving to the ideas repository since the time field is intentionally hidden when using mode: range.

@duncanmcclean duncanmcclean transferred this issue from statamic/cms Oct 29, 2024
@duncanmcclean duncanmcclean changed the title Range Date field is missing time field Date fieldtype: Ability to use time_enabled alongside mode: range Oct 29, 2024
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

No branches or pull requests

2 participants