Skip to content

Binding to "size" fails #12413

@srsgores

Description

@srsgores

jsbin here

Try deleting the entire username, and you will see the error:

Uncaught IndexSizeError: Failed to set the 'size' property on 'HTMLInputElement': The value provided is 0, which is an invalid size.

But this shouldn't occur, because the component passes in "auto", which according to this post, is a valid value for size.

document.getElementById("email").setAttribute("size", "auto") works, but the equivalent in the component does not.

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