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

Read only date field still shows clickable 'add date' button. #3025

Closed
jelleroorda opened this issue Dec 17, 2020 · 0 comments
Closed

Read only date field still shows clickable 'add date' button. #3025

jelleroorda opened this issue Dec 17, 2020 · 0 comments

Comments

@jelleroorda
Copy link
Contributor

Bug Description

The date field type shows the 'add date' button even though the field is read only. After clicking the button it shows the input field in read-only mode with the date being today (the default after clicking 'add date').

The field should just display the date icon and an read-only input, regardless of whether there is a value set or not.

How to Reproduce

Add a read only field to your blueprint and click the 'add date' button.

Extra Detail

bug

Environment

Statamic 3.0.30 Pro
Laravel 7.30.0
PHP 7.4.9

  • Fresh install from statamic/statamic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants