1

I am using AngularJS feature "ng-disabled" and here is the HTML code for my input type.

 <input type="text" required="required"
        ng-disabled="dummyClassification.Name != null && dummyClassification.Name != ''" class="span12"
        placeholder="Metric Short Name" id="tShortName" 
        ng-model="test.ShortName" />

Pretty sweet and simple! However, when when disabled (when dummyClassification.Name ! = null becomes true), the input box has a drop-down option on it. As you can see it does disable it but it converts a simple input box into drop-down?

What could be the reason for this? enter image description here

georgeawg
  • 48,608
  • 13
  • 72
  • 95
Indigo
  • 777
  • 2
  • 13
  • 25
  • Debug your page css styles... Anything like `input[disabled]{}` – vp_arth Jun 29 '15 at 17:58
  • I found out my company adds a background to the disabled inputs (which has that arrow thing). Pretty surprised by approach but alright! – Indigo Jun 29 '15 at 18:03

0 Answers0