2023-12-26 00:44:49 +01:00
|
|
|
<template>
|
2023-12-26 20:20:32 +01:00
|
|
|
<f-text id="rows" label="Zeilen" size="sm" name="rows" :model-value="modelValue.rows" type="number" min="1" @update:modelValue="$emit('update:modelValue', {...modelValue, rows: $event})"></f-text>
|
|
|
|
<f-switch
|
|
|
|
id="fieldrequired"
|
|
|
|
v-model="modelValue.required"
|
|
|
|
label="Erforderlich"
|
|
|
|
size="sm"
|
|
|
|
name="fieldrequired"
|
|
|
|
inline
|
|
|
|
@update:modelValue="$emit('update:modelValue', {...modelValue, required: $event})"
|
|
|
|
></f-switch>
|
2023-12-26 00:44:49 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
const props = defineProps({
|
|
|
|
modelValue: {},
|
2023-12-31 14:29:50 +01:00
|
|
|
meta: {},
|
|
|
|
payload: {},
|
2023-12-26 00:44:49 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
const emit = defineEmits(['update:modelValue']);
|
|
|
|
</script>
|