forked from MapComplete/MapComplete
		
	Add binoculars theme, auto reformat everything
This commit is contained in:
		
							parent
							
								
									38dea806c5
								
							
						
					
					
						commit
						78d6482c88
					
				
					 586 changed files with 115573 additions and 111842 deletions
				
			
		|  | @ -25,6 +25,19 @@ export class RadioButton<T> extends InputElement<T> { | |||
|         this._dontStyle = options.dontStyle ?? false | ||||
|     } | ||||
| 
 | ||||
|     IsValid(t: T): boolean { | ||||
|         for (const inputElement of this._elements) { | ||||
|             if (inputElement.IsValid(t)) { | ||||
|                 return true; | ||||
|             } | ||||
|         } | ||||
|         return false; | ||||
|     } | ||||
| 
 | ||||
|     GetValue(): UIEventSource<T> { | ||||
|         return this.value; | ||||
|     } | ||||
| 
 | ||||
|     protected InnerConstructElement(): HTMLElement { | ||||
|         const elements = this._elements; | ||||
|         const selectFirstAsDefault = this._selectFirstAsDefault; | ||||
|  | @ -166,19 +179,6 @@ export class RadioButton<T> extends InputElement<T> { | |||
|         return form; | ||||
|     } | ||||
| 
 | ||||
|     IsValid(t: T): boolean { | ||||
|         for (const inputElement of this._elements) { | ||||
|             if (inputElement.IsValid(t)) { | ||||
|                 return true; | ||||
|             } | ||||
|         } | ||||
|         return false; | ||||
|     } | ||||
| 
 | ||||
|     GetValue(): UIEventSource<T> { | ||||
|         return this.value; | ||||
|     } | ||||
| 
 | ||||
|     /* | ||||
|       public ShowValue(t: T): boolean { | ||||
|           if (t === undefined) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue