angular-ui/angular-ui — pull request #232 by nidi3 (2012-10-17 10:23:00+00:00)
Title: select2 "disabled" attribute improved

The disabled attribute is only taken into account if it changed after initialization, so

does NOT work.

The disabled attribute is interpreted as string, so every value apart from null and empty string is true, so

is always disabled.

This change fixes both issues.