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

Default value for lightswitch fields not respected on asset upload (Craft 2) #4902

Open
olivierbon opened this issue Sep 9, 2019 · 0 comments

Comments

@olivierbon
Copy link
Member

commented Sep 9, 2019

This is for Craft 2

Steps to reproduce

  1. Create a lightswitch field with a default value set to on (green).
  2. Create a new asset source and attached the above field to it.
  3. Upload an asset and check the result. The default lightswitch value will not be respected.

Additional info

  • Craft version: 2.7.10
  • PHP version: 7.2
  • Database driver & version: 5.7.25
  • Plugins & versions: n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.