forked from MapComplete/MapComplete
		
	Various bug fixes and updates
This commit is contained in:
		
							parent
							
								
									97ec893479
								
							
						
					
					
						commit
						e069b31e4e
					
				
					 29 changed files with 482 additions and 148 deletions
				
			
		|  | @ -8,14 +8,15 @@ export class RadioButton<T> extends InputElement<T> { | |||
|     private readonly _selectedElementIndex: UIEventSource<number> | ||||
|         = new UIEventSource<number>(null); | ||||
| 
 | ||||
|     private value: UIEventSource<T>; | ||||
|     private readonly value: UIEventSource<T>; | ||||
|     private readonly _elements: InputElement<T>[] | ||||
|     private _selectFirstAsDefault: boolean; | ||||
|     private readonly _selectFirstAsDefault: boolean; | ||||
| 
 | ||||
| 
 | ||||
|     constructor(elements: InputElement<T>[], | ||||
|                 selectFirstAsDefault = true) { | ||||
|         super(undefined); | ||||
|         console.log("Created new radiobutton with values ", elements) | ||||
|         this._elements = Utils.NoNull(elements); | ||||
|         this._selectFirstAsDefault = selectFirstAsDefault; | ||||
|         const self = this; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue