Make it possible to define dependencies for loadOptions

This commit is contained in:
Jan Oberhauser
2020-01-04 22:28:09 -06:00
parent f4acd47f80
commit bf4c8bc3a2
5 changed files with 42 additions and 2 deletions

View File

@@ -70,6 +70,9 @@ export const tableFields = [
name: 'tableId',
type: 'options',
typeOptions: {
loadOptionsDependsOn: [
'docId',
],
loadOptionsMethod: 'getTables',
},
required: true,
@@ -150,6 +153,9 @@ export const tableFields = [
name: 'tableId',
type: 'options',
typeOptions: {
loadOptionsDependsOn: [
'docId',
],
loadOptionsMethod: 'getTables',
},
required: true,
@@ -271,6 +277,9 @@ export const tableFields = [
name: 'tableId',
type: 'options',
typeOptions: {
loadOptionsDependsOn: [
'docId',
],
loadOptionsMethod: 'getTables',
},
required: true,
@@ -438,6 +447,9 @@ export const tableFields = [
name: 'tableId',
type: 'options',
typeOptions: {
loadOptionsDependsOn: [
'docId',
],
loadOptionsMethod: 'getTables',
},
required: true,