do not automatically ignore file upload fields when checking for empty rows
This commit is contained in:
		
							parent
							
								
									cad5ba5ca3
								
							
						
					
					
						commit
						165f23cc0b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -138,7 +138,7 @@ class GridFieldInstance(ListFieldInstance): | ||||||
|                     item[fi.name] = value |                     item[fi.name] = value | ||||||
|         ignoreInCheckOnEmpty = getattr(self.context, 'ignoreInCheckOnEmpty', []) |         ignoreInCheckOnEmpty = getattr(self.context, 'ignoreInCheckOnEmpty', []) | ||||||
|         for k, v in item.items(): |         for k, v in item.items(): | ||||||
|             if k not in ignoreInCheckOnEmpty and v != '__no_change__': |             if k not in ignoreInCheckOnEmpty: #and v != '__no_change__': | ||||||
|                 return item |                 return item | ||||||
|         return {} |         return {} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue