Crestron Components Lib - Showcase App

ch5-textinput: icon & iconPosition attributes

default usage of icon attribute.
by default the icon has to stay at the left side of the input
<div>
  <ch5-textinput
    icon="fa fa-plane"
    placeholder="Firstname">
  </ch5-textinput>
</div>
<div>
  <ch5-textinput
    icon="fa fa-address-card"
   placeholder="Firstname">
  </ch5-textinput>
</div>
<div>
  <ch5-textinput
    icon="fa fa-book"
    placeholder="Firstname">
  </ch5-textinput>
</div>
when iconPosition attribute is set to 'last'
then the icon has to stay in the right side of the input
<div>
  <ch5-textinput
    icon="fa fa-plane"
    iconPosition="last"
    placeholder="Firstname">
  </ch5-textinput>
</div>
<div>
  <ch5-textinput
    icon="fa fa-address-card"
    iconPosition="last"
    placeholder="Firstname">
  </ch5-textinput>
</div>
<div>
  <ch5-textinput
    icon="fa fa-book"
    iconPosition="last"
    placeholder="Firstname">
  </ch5-textinput>
</div>