combobox caption

master
Boris Voropaev 2023-08-31 12:21:24 +03:00
parent 43a83307e6
commit 3889584816
3 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,7 @@
font-size: 20px;
color: var(--dark-1);
padding: 8px 12px 8px 16px;
background: no-repeat left 16px center / 173px 19px url('~src/assets/images/icons/placeholder.svg');
&:hover{
border-color: #6C6C6C;
@ -34,6 +35,8 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
background-color: #ffffff;
p {
padding: 0;
overflow: hidden;

View File

@ -1,6 +1,6 @@
<div class="combobox" [class.active]="active">
<div class="toggle" (click)="toggleActivity()">
<div class="caption">{{caption}}</div>
<div class="caption" *ngIf="value">{{caption}}</div>
<div class="filter">
<input type="text" #searchInput (click)="$event.stopPropagation()" (input)="onInput($event)" (keydown.escape)="active = false" />
</div>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB