<template>
    <v-row dense v-if="activeRecord">
        <v-col cols="12">
            <cs-file-uploader 
                ref="Avatar"
                :control="form.controls.logo"
                :immediateInput="false"
                v-model="activeRecord.logo"
            />
        </v-col>
    </v-row>
</template>

<script>
    export default {
        props: {
            editable: {required: true},
        },

        computed: {
            form() {
                return this.editable.form;
            },
        },

        components: {
            CsFileUploader: require('@CsVueComp/controls/files/CsFileUploader/CsFileUploader').default,
        },
        
        mixins: [
            require('@CsVueMix/Forminput/Forminput')
        ],

        name: 'CustomerLogoEdit',
    }
</script>