36 lines
1.5 KiB
HTML
36 lines
1.5 KiB
HTML
<div class="edit-content">
|
|
<div class="title">
|
|
{{getEditText()}}
|
|
</div>
|
|
<form [formGroup]="validationpointForm" (ngSubmit)="onSubmit()" class="ml-10">
|
|
<div class="flex flex-col">
|
|
|
|
|
|
<div>
|
|
|
|
<label class="flex w-full">Validation Point<strong class="app-require">*</strong></label>
|
|
<input pInputText formControlName="description" maxlength="100"
|
|
placeholder="Validatio Point" required>
|
|
|
|
</div>
|
|
<div>
|
|
|
|
<label class="flex w-full">Display<strong class="app-require">*</strong></label>
|
|
<input pInputText formControlName="display" maxlength="10"
|
|
placeholder="Validatio Point" required>
|
|
|
|
</div>
|
|
<div>
|
|
<label for="acheckbox" class="mr-2">Active</label>
|
|
<p-checkbox formControlName="active" [binary]="true" inputId="acheckbox" size="small"></p-checkbox>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="mt-2 flex justify-content-end">
|
|
<button class="mr-2" type="submit" pButton
|
|
[disabled]="isFieldsChange">Submit</button>
|
|
<button type="button" pButton (click)="goBack()">Cancel</button>
|
|
</div>
|
|
</form>
|
|
<!--pre>{{ validationpointForm.value|json}}</pre-->
|
|
</div> |