Ignore:
Timestamp:
11/16/20 03:55:10 (3 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
db484c9
Parents:
8b13eb2
Message:

Fix bugs, add some more.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/ClientApp/src/app/dialogs/edit-pharmacy-dialog/edit-pharmacy-dialog.component.html

    r8b13eb2 r8e74e2f  
    1313    <div class="form-group">
    1414      <label>Location</label>
    15       <input type="text" class="form-control" [(ngModel)]="pharmacy.location" #email="ngModel" required />
     15      <input type="text" class="form-control" name="location" [(ngModel)]="pharmacy.location" #location="ngModel" required />
    1616      <div class="alert alert-danger" [hidden]="pharmacy.location">Location is required</div>
    1717    </div>
    1818    <div class="form-group">
    1919        <label>Work 24/7</label>
    20         <br />
    2120        <div class="radio">
    2221          <label>
    23             <input type="radio" name="workAllTime" [(ngModel)]="pharmacy.workAllTime" #workAllTime="ngModel" value="true" required />
    24             Да
    25           </label>
    26         </div>
    27         <div class="radio">
    28           <label>
    29             <input type="radio" name="workAllTime" [(ngModel)]="pharmacy.workAllTime" #workAlltime="ngModel" value="false" required />
    30             Не
     22            <input type="checkbox" name="workAllTime" [(ngModel)]="pharmacy.workAllTime" #workAllTime="ngModel" [value]="pharmacy.workAllTime"/>
    3123          </label>
    3224        </div>
Note: See TracChangeset for help on using the changeset viewer.