Simple ideas for enhancing text input interactions
ember install ember-smart-input
In your template:
which will get rendered as:
<span class="input input--haruki">
<input class="input__field input__field--haruki" type="text" id="input-1" />
<label class="input__label input__label--haruki" for="input-1">
<span class="input__label-content input__label-content--haruki">First Name</span>
</label>
</span>
For validation indicators with label color changes:
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
See the Contributing guide for details.