forked from MapComplete/MapComplete
		
	Improve URL handling: typing http(s) is not needed anymore for URLs
This commit is contained in:
		
							parent
							
								
									c6b1ef4a71
								
							
						
					
					
						commit
						057b4a3192
					
				
					 2 changed files with 111 additions and 45 deletions
				
			
		
							
								
								
									
										8
									
								
								test.ts
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								test.ts
									
										
									
									
									
								
							|  | @ -1,2 +1,6 @@ | |||
| import NewNoteUi from "./UI/Popup/NewNoteUi"; | ||||
| import {UIEventSource} from "./Logic/UIEventSource"; | ||||
| import ValidatedTextField from "./UI/Input/ValidatedTextField"; | ||||
| import {VariableUiElement} from "./UI/Base/VariableUIElement"; | ||||
| 
 | ||||
| const tf = ValidatedTextField.InputForType("url") | ||||
| tf.AttachTo("maindiv") | ||||
| new VariableUiElement(tf.GetValue()).AttachTo("extradiv") | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue