Added MaterialComposition

Added Service Categorie Rendering
This commit is contained in:
2025-01-07 15:25:02 +01:00
parent 2c175ad1b2
commit 0baba63542
4 changed files with 166 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
<script setup>
import dayjs from "dayjs";
import MaterialComposing from "~/components/materialComposing.vue";
const props = defineProps({
type: {
@@ -613,6 +614,12 @@ const contentChanged = (content, datapoint) => {
:preloadedContent="item[datapoint.key].html"
/>
<MaterialComposing
v-else-if="datapoint.inputType === 'materialComposing'"
:item="item"
/>
<UButton
v-if="['text','number','select','date','datetime','textarea'].includes(datapoint.inputType)"
@click="item[datapoint.key] = null"