@ -277,7 +277,7 @@ function setFormData() {
localColumns.value = col
.filter((f) => f.show && !hiddenColTypes.includes(f.uidt))
.sort((a, b) => a.order - b.order)
.map((c) => ({ ...c, required: !!(c.required || 0) }))
.map((c) => ({ ...c, required: !!c.required }))
systemFieldsIds.value = getSystemColumns(col).map((c) => c.fk_column_id)
@ -54,7 +54,9 @@ const columns = $computed(() => {
return []
}
return metas[selectedTable.id].columns.filter((c: any) => !isSystemColumn(c))
return metas[selectedTable.id].columns.filter((c: any) => {
return !(isSystemColumn(c) || c.uidt === UITypes.QrCode)
})
</script>