Answers for "attr disabled does not work"

0

disabled attribute is not working in html

try to use disabled="disabled":

<input type="text" id="txtEditAlternate" class="form-control" name="alternate" disabled="disabled" />

I hope it will work for you.
Posted by: Guest on December-05-2020
0

attr.disabled not working in angular

css

.disabled-contenct {
  pointer-events: none;
  opacity: 0.4;
}

html
<div [class.disabled-contenct]="!isDisabledContent"></div>
Posted by: Guest on March-11-2021

Browse Popular Code Answers by Language