Skip to content

David Votrubec | Notes about programming

Angular directive for disabled options in select

Posted byDavid Votrubec May 6, 2015 2 Comments on Angular directive for disabled options in select

I’ve written directive which disables options in select rendered via ng-options.

It is inspired by discussion in StackOverflow, rewritten to Typescript and I’ve fixed bug with empty options.

See the demo below.

Up-to-date code is on our company GitHub

Posted byDavid VotrubecMay 6, 2015Posted inAngularJSTags: AngularJS, Javascript, programming

Post navigation

Previous Post Previous post:
Angular directive for formatting numeric input fields
Next Post Next post:
Hledáme webového programátora
David Votrubec | Notes about programming, Proudly powered by WordPress.