forked from MapComplete/MapComplete
		
	Fix: add prevent-defaults
This commit is contained in:
		
							parent
							
								
									6900dedd3e
								
							
						
					
					
						commit
						afce4cb5ba
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -102,7 +102,7 @@ | |||
|         capture="environment" | ||||
|         cls="button border-2 flex flex-col" | ||||
|         multiple={true} | ||||
|         on:submit={(e) => handleFiles(e.detail)} | ||||
|         on:submit={(e) =>{   handleFiles(e.detail) ; e.preventDefault(); e.stopPropagation()}} | ||||
|       > | ||||
|         <div class="flex w-full items-center justify-center text-2xl"> | ||||
|           {#if image !== undefined} | ||||
|  | @ -128,7 +128,7 @@ | |||
|         accept=".jpg, .jpeg" | ||||
|         cls="flex justify-center md:hidden button" | ||||
|         multiple={true} | ||||
|         on:submit={(e) => handleFiles(e.detail, true)} | ||||
|         on:submit={(e) =>{  return handleFiles(e.detail, true) ; e.preventDefault(); e.stopPropagation()}} | ||||
|       > | ||||
|         <Tr t={t.selectFile}/> | ||||
|       </FileSelector> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue