md-color-picker
md-color-picker copied to clipboard
md-color validation problem
I can't validate md-color in a form because is missing the name attribute in the input filed. Also i can't put inside ng-messages and add a custom validation (By directive) on input field.
Es.
<md-input-container class="md-block" > <label>Label</label> <input type="email" ** name="name"** ng-model="model" **custom-validator** /> **<ng-messages> <ng-message><ng-message> </ng-messages>** </md-input-container>
I'm trying to solve this by using another version of template mdColorPicker.tpl.html in order to put inside the the missing elements, but is not a good solution.
Do you have a suggestion?
Thanks