Crestron Components Lib - Showcase App

ch5-textinput: type attribute

The input has not any type attribute set
Result: the input type will be converted automatically to text.
<ch5-textinput
  label="Firstname"
></ch5-textinput>
The input has an invalid value for thetype attribute.
Result: the input type will be converted automatically to text.
<ch5-textinput
  label="Firstname"
  type="text"
></ch5-textinput>
A usage of the type="text".
<ch5-textinput
  label="Firstname"
  type="text"
></ch5-textinput>
A usage of the type="number".
<ch5-textinput
        label="Number"
        type="number">
</ch5-textinput>
A usage of the type="email".
<ch5-textinput
  label="E-mail Address"
  type="email"
></ch5-textinput>