mirror of https://github.com/abpframework/abp.git
1 changed files with 21 additions and 17 deletions
@ -1,20 +1,24 @@ |
|||||
<div class="input-group"> |
<div class="input-group"> |
||||
<div class="col-9 col-md-10 p-0"> |
<div class="row w-100"> |
||||
<input |
<div class="col-11 pe-0"> |
||||
[type]="fieldTextType ? 'text' : 'password'" |
<input |
||||
class="form-control" |
[type]="fieldTextType ? 'text' : 'password'" |
||||
[id]="prop.id" |
class="form-control" |
||||
[formControlName]="prop.name" |
[id]="prop.id" |
||||
/> |
[formControlName]="prop.name" |
||||
|
/> |
||||
|
</div> |
||||
|
<div class="col-1 ps-0"> |
||||
|
<button class="btn btn-secondary" type="button"> |
||||
|
<i |
||||
|
class="fa" |
||||
|
[ngClass]="{ |
||||
|
'fa-eye-slash': !fieldTextType, |
||||
|
'fa-eye': fieldTextType |
||||
|
}" |
||||
|
(click)="toggleFieldTextType()" |
||||
|
></i> |
||||
|
</button> |
||||
|
</div> |
||||
</div> |
</div> |
||||
<span class="input-group-text"> |
|
||||
<i |
|
||||
class="fa" |
|
||||
[ngClass]="{ |
|
||||
'fa-eye-slash': !fieldTextType, |
|
||||
'fa-eye': fieldTextType |
|
||||
}" |
|
||||
(click)="toggleFieldTextType()" |
|
||||
></i> |
|
||||
</span> |
|
||||
</div> |
</div> |
||||
|
|||||
Loading…
Reference in new issue