material icon indicating copy to clipboard operation
material copied to clipboard

md-select: md-option: cant disable?

Open johnSowingo opened this issue 11 years ago • 3 comments

How do I disable an md-option but still have it visible? disable attribute does not work.

johnSowingo avatar Jul 23 '15 16:07 johnSowingo

I believe these folks want these kind of questions on the forum. You can use ng-disabled to disable options. See this codepen for an example, check the size vs the toppings.

mckenzielong avatar Jul 23 '15 22:07 mckenzielong

I think the issue was that it does not work in 10.0. See this code pen: http://codepen.io/anon/pen/LVgbjo

Thanks for the response and tip to use the newest version via git cdn.

johnSowingo avatar Jul 24 '15 12:07 johnSowingo

Closing since this is fixed on master.

rschmukler avatar Aug 03 '15 19:08 rschmukler