show combo box only for new work items not when editing existing ones
This commit is contained in:
		
							parent
							
								
									aef3d2e139
								
							
						
					
					
						commit
						070cb50a54
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -411,6 +411,8 @@ class CreateWorkItemForm(ObjectForm, BaseTrackView): | ||||||
|     @Lazy |     @Lazy | ||||||
|     def titleSelection(self): |     def titleSelection(self): | ||||||
|         result = [] |         result = [] | ||||||
|  |         if self.title: | ||||||
|  |             return result | ||||||
|         dt = adapted(self.conceptManager.get('organize.work.texts')) |         dt = adapted(self.conceptManager.get('organize.work.texts')) | ||||||
|         if dt is None or not dt.data: |         if dt is None or not dt.data: | ||||||
|             return result |             return result | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue