material icon indicating copy to clipboard operation
material copied to clipboard

md-colors should repspond better to {} and null

Open sdesmond opened this issue 10 years ago • 1 comments

I would expect md-colors="{}" and md-colors="null" to leave the element as though md-colors wasn't on the element. What I'm seeing is md-colors="null" throws an error, and md-colors="{}" leaves the element in its last state.

See the Pen for an example (open the console to see the error). http://codepen.io/anon/pen/BKVZGo?editors=1011

Material Version 1.1.0-rc4

sdesmond avatar Apr 19 '16 21:04 sdesmond

Thanks @EladBezalel.

sdesmond avatar Jun 13 '16 02:06 sdesmond