forked from MapComplete/MapComplete
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			391 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			391 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import ValidatedTextField from "./UI/Input/ValidatedTextField";
 | |
| import Combine from "./UI/Base/Combine";
 | |
| import {VariableUiElement} from "./UI/Base/VariableUIElement";
 | |
| 
 | |
| 
 | |
| new Combine(ValidatedTextField.tpList.map(tp => {
 | |
|     const tf = ValidatedTextField.InputForType(tp.name);
 | |
|     
 | |
|     return new Combine([tf, new VariableUiElement(tf.GetValue()).SetClass("alert")]);
 | |
| })).AttachTo("maindiv") |