pull/4142/head
mertsincan 2023-09-05 03:10:12 +01:00
commit 86350195b5
2 changed files with 10 additions and 1 deletions

View File

@ -56,6 +56,15 @@ export default {
}, },
resolveFieldData(data, field) { resolveFieldData(data, field) {
try {
const value = data[field];
if (value)
return value;
}
catch {
// do nothing and continue to other methods to resolve field data
}
if (data && Object.keys(data).length && field) { if (data && Object.keys(data).length && field) {
if (this.isFunction(field)) { if (this.isFunction(field)) {
return field(data); return field(data);

View File

@ -13344,7 +13344,7 @@
}, },
{ {
"name": "fileSizeTypes", "name": "fileSizeTypes",
"optional": true, "optional": false,
"readonly": false, "readonly": false,
"type": "string[]", "type": "string[]",
"default": "" "default": ""