// Additional search conditions to include when constructing
// the query for a linked field's combobox
- linkedSearchConditions?: {[field: string] : string};
+ linkedSearchConditions?: {[field: string]: string};
// Directly override the required state of the field.
// This only has an affect if the value is true.
});
// ensure that the current value, if present, is included
// in case it doesn't otherwise meet the conditions
- const linkVal = this.record[field.name]();
- if (linkVal !== null && linkVal !== undefined) {
+ const linkedValue = this.record[field.name]();
+ if (linkedValue !== null && linkedValue !== undefined) {
search['-or'] = [];
const retrieveRec = {};
- retrieveRec[idField] = linkVal;
+ retrieveRec[idField] = linkedValue;
search['-or'].push(retrieveRec);
search['-or'].push(conditions);
} else {