md-color-picker icon indicating copy to clipboard operation
md-color-picker copied to clipboard

md-color validation problem

Open tipodisimmia opened this issue 9 years ago • 0 comments

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

tipodisimmia avatar Feb 10 '16 12:02 tipodisimmia