2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 TechMahindra
6 *=================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
22 <h1 mat-dialog-title>Details</h1>
23 <mat-dialog-content [formGroup]="CatalogFormData">
24 <mat-form-field class="form-field">
25 <input matInput placeholder="Model Name" formControlName="Model_Name">
27 <mat-form-field class="form-field" >
28 <input matInput placeholder="User Id" formControlName="User_id">
30 <mat-form-field class="form-field">
31 <input matInput placeholder="Tags" formControlName="_tags">
33 <mat-form-field class="form-field">
34 <!-- <mat-select matInput placeholder="Definition Type" formControlName="_type">
35 <mat-option [value]="item" *ngFor="let item of definitionType">{{item.definitionType}}</mat-option>
37 <input matInput placeholder="Definition Type" formControlName="_type">
39 <mat-form-field class="form-field" >
40 <!-- <mat-select matInput placeholder="Derived From" formControlName="Derived_From">
41 <mat-option [value]="item" *ngFor="let item of derivedFrom">{{item.derivedFrom}}</mat-option>
43 <input matInput placeholder="Derived From" formControlName="Derived_From">
47 <mat-dialog-actions *ngIf="!isDisabled">
48 <button mat-button (click)="onNoClick()">Cancel</button>
49 <button mat-button (click)="onClickSave()">Save</button>
51 <mat-dialog-actions *ngIf="isDisabled">
52 <button mat-button (click)="onNoClick()">Close</button>