Fix form ref bug, for batch execution
This commit is contained in:
		
							parent
							
								
									095afcde24
								
							
						
					
					
						commit
						6fc666e221
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -771,7 +771,7 @@ class Form(object):
 | 
			
		|||
        # TODO: deprecate / remove the latter option here
 | 
			
		||||
        if self.auto_disable_save or self.auto_disable:
 | 
			
		||||
            if self.use_buefy:
 | 
			
		||||
                context['form_kwargs']['ref'] = self.component_studly
 | 
			
		||||
                context['form_kwargs'].setdefault('ref', self.component_studly)
 | 
			
		||||
                context['form_kwargs']['@submit'] = 'submit{}'.format(self.component_studly)
 | 
			
		||||
            else:
 | 
			
		||||
                context['form_kwargs']['class_'] = 'autodisable'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue