blob: 3bd51b4e360747ba3abb1ef536ca450368c76d04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<div class="popover-input-wrapper" tooltip="{{value}}">
<input
class="value-input"
type="text"
[ngClass]="{'error': control.invalid}"
[name]="name"
[value]="value!=undefined?value:''"
disabled
/>
<button [popover]="popoverForm" [ngClass]="{'disabled':readonly}">Edit</button>
</div>
<popover-content #popoverForm [title]="name" [buttons]="buttonsArray" [placement]="'top'" [closeOnClickOutside]="true">
<div class="edit-subnet-wrapper">
<textarea rows="5"
#textArea
class="subnet-value"
[ngClass]="{'error': control.invalid}"
[(ngModel)]="value"
[attr.maxlength]="validation.propertyValue.max"
[attr.minlength]="validation.propertyValue.min"
[pattern]="pattern"
[formControl]="control"
></textarea>
</div>
</popover-content>
|