dart-polymerpolymer-1.0polymer-elements

What is the better solution to format/restrict *-input entry in Polymer 1.0


I would like to know if exists best practices to format and restrict on *-input elements entry in Polymer 1.0.

For example:


Solution

  • iron-input supports an allowed-pattern attribute https://elements.polymer-project.org/elements/iron-input