Remove hardcoded max limit
This commit is contained in:
		
							parent
							
								
									c8b912bfec
								
							
						
					
					
						commit
						1cd08fb373
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								vendor/registrasion/registrasion/forms.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/registrasion/registrasion/forms.py
									
										
									
									
										vendored
									
									
								
							|  | @ -184,8 +184,7 @@ class _QuantityBoxProductsForm(_ProductsForm): | |||
|             field = forms.IntegerField( | ||||
|                 label=product.name, | ||||
|                 help_text=help_text, | ||||
|                 min_value=0, | ||||
|                 max_value=500,  # Issue #19. We should figure out real limit. | ||||
|                 min_value=0 | ||||
|             ) | ||||
|             cls.base_fields[cls.field_name(product)] = field | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Tobias
						Tobias