forked from MapComplete/MapComplete
		
	Lots of refactoring, first version of the import helper
This commit is contained in:
		
							parent
							
								
									612b8136ad
								
							
						
					
					
						commit
						3402ac0954
					
				
					 54 changed files with 1104 additions and 315 deletions
				
			
		|  | @ -16,7 +16,7 @@ export default class QuestionBox extends VariableUiElement { | |||
|     public readonly skippedQuestions: UIEventSource<number[]>; | ||||
|     public readonly restingQuestions: UIEventSource<BaseUIElement[]>; | ||||
| 
 | ||||
|     constructor(options: { | ||||
|     constructor(state, options: { | ||||
|         tagsSource: UIEventSource<any>, | ||||
|         tagRenderings: TagRenderingConfig[], units: Unit[], | ||||
|         showAllQuestionsAtOnce?: boolean | UIEventSource<boolean> | ||||
|  | @ -34,7 +34,7 @@ export default class QuestionBox extends VariableUiElement { | |||
| 
 | ||||
|         const tagRenderingQuestions = tagRenderings | ||||
|             .map((tagRendering, i) => | ||||
|                 new Lazy(() => new TagRenderingQuestion(tagsSource, tagRendering, | ||||
|                 new Lazy(() => new TagRenderingQuestion(tagsSource, tagRendering, state, | ||||
|                     { | ||||
|                         units: units, | ||||
|                         afterSave: () => { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue