-
Notifications
You must be signed in to change notification settings - Fork 80
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
Checkbox field id has dash appended #421
Comments
I think this one: |
Ok, i see what happened here. We added the key logic to |
Fixed by eea1e45, cross referencing and closing. |
I set the
id
property for a checkbox field in frontmatter, The field is being output with '-' appended to that id string. (Makes it difficult to select using JS DOM methods, affects label accessibility, etc.)Looks like the checkbox template includes reference to a
key
Twig variable. Couldn't figure out where it's meant to be coming from, but it's empty in my case.My guess is that that line
should be
or
depending on what the intent and context is here. If you advise me, I'll make a PR.
Not sure if other field types are affected.
The text was updated successfully, but these errors were encountered: