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

Input Id should not contain dot characters, should use Play Framework's method field.id. #28

Open
LukeDeighton opened this issue Oct 20, 2015 · 0 comments

Comments

@LukeDeighton
Copy link

Input Id should not contain dot characters and should use Play Framework's inbuilt method field.id rather than using field.name. field.id essentially replaces . characters with _

. characters cause problems with Javascript/Jquery as anything after the dot is incorrectly treated as a class.

I have fixed the issues for my use case, however there are more places in Play-UI where id=field.name instead of field.id

Please see my forked commit linked below:
https://github.com/LukeDeighton/play-ui/commit/806023bfec292d71781d088fd053cf6d1fc0d019

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

No branches or pull requests

1 participant