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

Description
iron-input feels like it's striving to provide a solid interface for building more complex text-input elements but leaving the particulars up to developer and elements that extend iron-input as a base. For example, instead of assimilating a kitchen sink of common input validation settings, it provides a regex pattern for basic checks and a validation function for arbitrarily complex logic.
While the preventInvalidInput feature is handy, I think a transform function is needed to provide a complete solution and it would be handy for virtually all input types. This would allow developers to trim whitespace, lowercase text, insert or remove formatting, etc.