Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Iron Input allows pasting of invalid text after space #109

@ahrobinson

Description

@ahrobinson

Description

Iron-Input element allows pasting of invalid characters if you press spacebar before pasting.

Expected outcome

Iron-input should prevent invalid characters from being pasted.

Actual outcome

Invalid characters are being pasted after pressing spacebar.

Live Demo

https://jsbin.com/jusifovuho/edit?html,output

Steps to reproduce

  1. Put a iron-input element in the page.
  2. Click inside, press spacebar, paste invalid text.

Browsers Affected

Only tested in Chrome

  • [ x] Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions