Crestron Components Lib - Showcase App

ch5-textinput: type attribute

input has not any type attribute set
Result: the input type will automatically be converted to text
<ch5-textinput
  label="Firstname"
></ch5-textinput>
input has invalid value for type attribute
Result: the input type will automatically be converted to text
<ch5-textinput
  label="Firstname"
  type="thereIsAnInvalidType"
></ch5-textinput>
usage of type="text"
<ch5-textinput
  label="Firstname"
  type="text"
></ch5-textinput>
usage of type="number"
<ch5-textinput
  label="Firstname"
  type="number"
></ch5-textinput>
usage of type="month"
<ch5-textinput
  label="Month"
  type="month"
></ch5-textinput>
usage of type="week"
<ch5-textinput
  label="Week"
  type="week"
></ch5-textinput>
usage of type="email"
<ch5-textinput
  label="E-mail Address"
  type="email"
></ch5-textinput>