forked from MapComplete/MapComplete
		
	Re-enable local country detection
This commit is contained in:
		
							parent
							
								
									223f6191cd
								
							
						
					
					
						commit
						48ca24261f
					
				
					 158 changed files with 1714 additions and 8 deletions
				
			
		|  | @ -298,7 +298,7 @@ export class TagRendering extends UIElement implements TagDependantUIElement { | |||
|     } | ||||
| 
 | ||||
| 
 | ||||
|     private InputForFreeForm(freeform :  { | ||||
|     private InputForFreeForm(freeform: { | ||||
|         key: string, | ||||
|         template: string | Translation, | ||||
|         renderTemplate: string | Translation, | ||||
|  | @ -313,7 +313,7 @@ export class TagRendering extends UIElement implements TagDependantUIElement { | |||
|             .replace("$$$", "$string$") | ||||
|             .split("$"); | ||||
|         let type = prepost[1]; | ||||
|          | ||||
| 
 | ||||
|         let isTextArea = false; | ||||
|         if(type === "text"){ | ||||
|             isTextArea = true; | ||||
|  | @ -371,9 +371,12 @@ export class TagRendering extends UIElement implements TagDependantUIElement { | |||
|             } | ||||
|             return undefined; | ||||
|         } | ||||
|         return ValidatedTextField.Mapped( | ||||
|             pickString, toString, {placeholder: this._freeform.placeholder, isValid: isValid, textArea: isTextArea} | ||||
|         ) | ||||
| 
 | ||||
|         return ValidatedTextField.Mapped(pickString, toString, { | ||||
|             placeholder: this._freeform.placeholder, | ||||
|             isValid: isValid, | ||||
|             textArea: isTextArea | ||||
|         }) | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue