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
Post a Comment