@fto-consult/expo-ui 2.25.0 → 2.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -286,9 +286,9 @@ export default class TableDataScreenComponent extends FormDataScreen{
|
|
|
286
286
|
if(typeof prepareField =='function'){
|
|
287
287
|
Object.map(fields,(field,i,counterIndex)=>{
|
|
288
288
|
if(!isObj(field)) return;
|
|
289
|
-
const name = defaultStr(field.field,i)
|
|
289
|
+
const name = defaultStr(field.field,i);
|
|
290
290
|
const isPrimary = this.primaryKeyFields[name] && true || false;
|
|
291
|
-
const f = prepareField({field,isUpdate:isUpdated,name,index:i,counterIndex,isPrimary,fields,contex:this,data,datas,currentIndex,isUpdated,tableName,table});
|
|
291
|
+
const f = prepareField({field,columnField:name,columnDef:field,isUpdate:isUpdated,name,index:i,counterIndex,isPrimary,fields,contex:this,data,datas,currentIndex,isUpdated,tableName,table});
|
|
292
292
|
if(f === false) {
|
|
293
293
|
delete fields[i];
|
|
294
294
|
}
|