mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	disallow clearing tag color
This commit is contained in:
		| @@ -11,7 +11,7 @@ | |||||||
|  |  | ||||||
|       <div class="form-group paperless-input-select"> |       <div class="form-group paperless-input-select"> | ||||||
|         <label for="colour">Colour</label> |         <label for="colour">Colour</label> | ||||||
|         <ng-select name="colour" formControlName="colour" [items]="getColours()" bindValue="id" bindLabel="name"> |         <ng-select name="colour" formControlName="colour" [items]="getColours()" bindValue="id" bindLabel="name" [clearable]="false"> | ||||||
|           <ng-template ng-option-tmp ng-label-tmp let-item="item"> |           <ng-template ng-option-tmp ng-label-tmp let-item="item"> | ||||||
|             <span class="badge" [style.background]="item.value" [style.color]="item.textColor">{{item.name}}</span> |             <span class="badge" [style.background]="item.value" [style.color]="item.textColor">{{item.name}}</span> | ||||||
|           </ng-template> |           </ng-template> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler