coreui/coreui-free-vue-laravel-admin-template

Edit CreateResourceField

federicavecchi22 opened this issue · 0 comments

Hi,
I create a custom component and I would like add this as new field type.
My componet not show , but show CSelect though is commented.

CreateResourceField.vue

<div v-else-if="column.type == 'relation_select'"> <!-- <CSelect :label="column.name" :options="relations['relation_' + column.column_name]" :value.sync="model" />--> <StatoProvinciaCittaComponent :label="column.name" :options="relations['relation_' + column.column_name]" :value.sync="model"/> </div>

import StatoProvinciaCittaComponent from "../../../../laravel/resources/js/components/StatoProvinciaCittaComponent"; export default { name: 'CreateResourceField', components: { StatoProvinciaCittaComponent }, ...

Thank you