Browse Source
			
			
			Bugfix/fix default locale in value component (#3454)
			
				* Fix default locale
* Update changelog
			
			
				pull/3461/head
			
			
		 
		
			
				
					
						 Thomas Kaul
					
					1 year ago
						Thomas Kaul
					
					1 year ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
6 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
- 
					
					
					 
					libs/ui/src/lib/value/value.component.ts
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | 
			
		
	
		
			
				
					|  |  |  | - Improved the language localization for German (`de`) | 
			
		
	
		
			
				
					|  |  |  | - Upgraded `ng-extract-i18n-merge` from version `2.10.0` to `2.12.0` | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ### Fixed | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | - Fixed an issue with the default locale in the value component | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ## 2.84.0 - 2024-06-01 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ### Added | 
			
		
	
	
		
			
				
					|  |  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -27,7 +27,7 @@ export class GfValueComponent implements OnChanges { | 
			
		
	
		
			
				
					|  |  |  |   @Input() isCurrency = false; | 
			
		
	
		
			
				
					|  |  |  |   @Input() isDate = false; | 
			
		
	
		
			
				
					|  |  |  |   @Input() isPercent = false; | 
			
		
	
		
			
				
					|  |  |  |   @Input() locale = getLocale(); | 
			
		
	
		
			
				
					|  |  |  |   @Input() locale: string; | 
			
		
	
		
			
				
					|  |  |  |   @Input() position = ''; | 
			
		
	
		
			
				
					|  |  |  |   @Input() precision: number | undefined; | 
			
		
	
		
			
				
					|  |  |  |   @Input() size: 'large' | 'medium' | 'small' = 'small'; | 
			
		
	
	
		
			
				
					|  |  | @ -135,6 +135,7 @@ export class GfValueComponent implements OnChanges { | 
			
		
	
		
			
				
					|  |  |  |     this.formattedValue = ''; | 
			
		
	
		
			
				
					|  |  |  |     this.isNumber = false; | 
			
		
	
		
			
				
					|  |  |  |     this.isString = false; | 
			
		
	
		
			
				
					|  |  |  |     this.locale = this.locale || getLocale(); | 
			
		
	
		
			
				
					|  |  |  |     this.useAbsoluteValue = false; | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
	
		
			
				
					|  |  | 
 |