mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
35 lines
937 B
Vue
35 lines
937 B
Vue
<template>
|
|
<div class="control__elements">
|
|
<FunctionalFormulaArrayItems
|
|
class="row-edit-array-field"
|
|
:row="row"
|
|
:field="field"
|
|
:value="value"
|
|
:selected="true"
|
|
>
|
|
<div
|
|
v-if="shouldFetchRow"
|
|
class="array-field__item"
|
|
:class="{ 'array-field__item--loading': isFetchingRow }"
|
|
>
|
|
<div v-if="isFetchingRow" class="loading"></div>
|
|
<span v-else>...</span>
|
|
</div>
|
|
</FunctionalFormulaArrayItems>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import rowEditField from '@baserow/modules/database/mixins/rowEditField'
|
|
import FunctionalFormulaArrayItems from '@baserow/modules/database/components/formula/array/FunctionalFormulaArrayItems'
|
|
import arrayLoading from '@baserow/modules/database/mixins/arrayLoading'
|
|
|
|
export default {
|
|
name: 'RowEditFieldArray',
|
|
components: {
|
|
FunctionalFormulaArrayItems,
|
|
},
|
|
mixins: [rowEditField, arrayLoading],
|
|
}
|
|
</script>
|