reolve the activate focus primary field (#417)
							parent
							
								
									8c9e2f0513
								
							
						
					
					
						commit
						e6fd209d2b
					
				|  | @ -329,7 +329,7 @@ export default { | |||
|   methods: { | ||||
|     showMessage, | ||||
|     focusField() { | ||||
|       if (this.isDisplayed && this.isMandatory && !this.isReadOnly) { | ||||
|       if (this.isDisplayed && !this.isReadOnly) { | ||||
|         this.$refs[this.field.columnName].activeFocus() | ||||
|       } | ||||
|     } | ||||
|  |  | |||
|  | @ -680,7 +680,7 @@ export default { | |||
|       return new Promise(resolve => { | ||||
|         const fieldFocus = this.getterFieldList.find(itemField => { | ||||
|           if (this.$refs.hasOwnProperty(itemField.columnName)) { | ||||
|             if (fieldIsDisplayed(itemField) && !itemField.isReadOnly && itemField.isUpdateable) { | ||||
|             if (fieldIsDisplayed(itemField) && !itemField.isReadOnly && itemField.isUpdateable && itemField.componentPath !== 'FieldSelect') { | ||||
|               return true | ||||
|             } | ||||
|           } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 elsiosanchez
						elsiosanchez