Skip to content

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

@LukeDeighton

Description

@LukeDeighton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions