Skip to content

Field IDs Patch #496

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

Closed

Conversation

plong0
Copy link

@plong0 plong0 commented Jul 31, 2015

Updates name and ids (along with corresponding label for="..." attributes) to use the full key (hyphen-delimited) rather than only the last piece.
If a parent FormController is found, we prepend the form's name onto the id values.

We also append the hyphen-delimited key to form.htmlClass, allowing styling of specific fields without having to manually set an htmlClass for each field.

@plong0
Copy link
Author

plong0 commented Aug 1, 2015

looks like tests fail because input names have changed

@davidlgj
Copy link
Contributor

Hi @plong0 , I will merge this and #463 when the new builder is up and running. Soonish I hope :)

@plong0
Copy link
Author

plong0 commented Aug 13, 2015

Sounds great @davidlgj! Thanks, looking forward to it :)

@plong0
Copy link
Author

plong0 commented Sep 29, 2015

made new PR #560 off development branch

@plong0 plong0 closed this Sep 29, 2015
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

Successfully merging this pull request may close these issues.

2 participants