forked from MapComplete/MapComplete
		
	Link value of OHInput, make combinedInputElement more resilient; formatting
This commit is contained in:
		
							parent
							
								
									6efc928bb5
								
							
						
					
					
						commit
						570cbc67ce
					
				
					 2 changed files with 8 additions and 7 deletions
				
			
		|  | @ -264,11 +264,12 @@ export default class ValidatedTextField { | |||
|         } | ||||
| 
 | ||||
|         if (tp.inputHelper) { | ||||
|             input = new CombinedInputElement(input, tp.inputHelper(input.GetValue(), { | ||||
|                     location: options.location, | ||||
|                     mapBackgroundLayer: options.mapBackgroundLayer | ||||
|             const helper =  tp.inputHelper(input.GetValue(), { | ||||
|                 location: options.location, | ||||
|                 mapBackgroundLayer: options.mapBackgroundLayer | ||||
| 
 | ||||
|             }), | ||||
|             }) | ||||
|             input = new CombinedInputElement(input, helper, | ||||
|                 (a, _) => a, // We can ignore b, as they are linked earlier
 | ||||
|                 a => [a, a] | ||||
|                 ); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue