Skip to content

input type checkbox generating value attribute twice #48

Description

@levinse

The checkbox input type appears to be generating the value attribute in the HTML twice. Once with the value set in my form template and again with an empty value for the value attribute.

For example, given:
<input type="checkbox" name="certification1" id="certification1" regex="^[A-Za-z0-9,\. ]+$" value="whatever blah blah" required />
the output is:
<input id="certification1" pattern="^[A-Za-z0-9,\. ]+$" value="whatever blah blah" required="required" type="checkbox" name="certification1" value="" />

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions