mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
Fix #92 - Default showing on Record Modal
This commit is contained in:
parent
9aed9b7b9c
commit
d2de677032
1 changed files with 9 additions and 1 deletions
|
@ -65,7 +65,15 @@ export class ModalRecordFilterAdapter implements RecordListModalFilterAdapterInt
|
|||
type = 'basic';
|
||||
}
|
||||
|
||||
return searchMeta.layout[type];
|
||||
const searchLayout = searchMeta.layout[type];
|
||||
|
||||
Object.keys(searchLayout).forEach((key) => {
|
||||
if (searchLayout[key].fieldDefinition.default){
|
||||
searchLayout[key].fieldDefinition.default = null;
|
||||
}
|
||||
})
|
||||
|
||||
return searchLayout;
|
||||
})
|
||||
),
|
||||
listFields: [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue