angular - Error: Input type "color" isn't supported by md-input-container -


i'm trying add input color selection using angular material 2 follows:

<md-input-container>     <input  mdinput type="color">     <md-icon mdsuffix>edit</md-icon>   </md-input-container> 

and got error :error: input type "color" isn't supported md-input-container. there alternative fit in form

material inputs not support 'color' type. use simple input instead:

<input type="color"> 

you can still style wish , mimic material input adding icon etc.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -