forked from MapComplete/MapComplete
		
	Added cyclofix capacity cargo; covered; non-bike shop; pump dyn title
This commit is contained in:
		
							parent
							
								
									a7bb4a1fcc
								
							
						
					
					
						commit
						948ff74a8b
					
				
					 23 changed files with 624 additions and 91 deletions
				
			
		|  | @ -2,6 +2,7 @@ import {InputElement} from "./InputElement"; | |||
| import {UIEventSource} from "../UIEventSource"; | ||||
| import {UIElement} from "../UIElement"; | ||||
| import {FixedUiElement} from "../Base/FixedUiElement"; | ||||
| import Translations from "../i18n/Translations"; | ||||
| 
 | ||||
| 
 | ||||
| export class InputElementWrapper<T> extends InputElement<T>{ | ||||
|  | @ -16,9 +17,11 @@ export class InputElementWrapper<T> extends InputElement<T>{ | |||
|          | ||||
|     ) { | ||||
|         super(undefined); | ||||
|         this.pre = typeof(pre) === 'string' ?  new FixedUiElement(pre) : pre | ||||
|         // this.pre = typeof(pre) === 'string' ?  new FixedUiElement(pre) : pre
 | ||||
|         this.pre = Translations.W(pre) | ||||
|         this.input = input; | ||||
|         this.post =typeof(post) === 'string' ?  new FixedUiElement(post) : post | ||||
|         // this.post =typeof(post) === 'string' ?  new FixedUiElement(post) : post
 | ||||
|         this.post = Translations.W(post) | ||||
|     } | ||||
|      | ||||
|      | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue