Answers for "[disabled] not working with input"

-1

disable input angular

<div class="center-content tp-spce-hdr">
  <div class="container">
    <div class="row mx-0 mt-4">
      <div class="col-12" style="padding-right: 700px;" >
          <div class="form-group">
              <label>Email</label>
                <input [disabled]="true" type="text" id="email" name="email" 
                [(ngModel)]="email" class="form-control">
          </div>
     </div>
   </div>
 </div>
Posted by: Guest on May-22-2020
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

Code answers related to "[disabled] not working with input"

Browse Popular Code Answers by Language