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

new date fieldtype forces fieldname of "date" in fieldset editor #2025

Closed
lukeagsmith opened this Issue Jun 15, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@lukeagsmith

lukeagsmith commented Jun 15, 2018

Describe the bug
In the fieldset editor, when making a new field with a type of date, the fieldname is set to "date" and disabled.

To Reproduce
Steps to reproduce the behavior:

  1. Add new date field in fieldset editor
  2. Notice "Field Variable" input is disabled and filled with "date" in the edit overlay
  3. Save field and also noice you can't change the field name in the list of fields

Expected behaviour
You should be able to edit the fieldname for date fieldtype.

Additional context
This appears to be the same behaviour for the "Publish Date" fieldtype which I assume is the right behaviour for this field.

Environment details (please complete the following information):

  • Statamic Version [e.g. 2.9.8]

@lukeagsmith lukeagsmith changed the title from new date fieldtype forces filename of date in fieldset editor to new date fieldtype forces fieldname of "date" in fieldset editor Jun 16, 2018

@jackmcdade jackmcdade added the bug label Jun 19, 2018

@jackmcdade jackmcdade closed this Jul 17, 2018

@jasonvarga jasonvarga closed this Jul 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment