Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why ng-disabled does not work?

This is my html tag:

<input class="editable-input" ng-model="ac.accesses.permision.alias" ng-disabled="true">

but input tag does not disable.

like image 554
Hossein Akbarzadeh Avatar asked Oct 18 '22 23:10

Hossein Akbarzadeh


1 Answers

ng-disabled will work fine either if you missed out input type

Working Demo

  <input type="text" class="editable-input" ng-model="ac.accesses.permision.alias" ng-disabled="true">

Working Demo

   <input class="editable-input" ng-model="ac.accesses.permision.alias" ng-disabled="true">
like image 198
Nidhish Krishnan Avatar answered Nov 15 '22 05:11

Nidhish Krishnan