next and running inspections
This commit is contained in:
parent
1409cf8045
commit
74b05ee97f
14 changed files with 280 additions and 75 deletions
|
@ -6,7 +6,7 @@
|
|||
<div class="p-2">
|
||||
<p v-if="inspectionPoint.description" class="pb-2">Beschreibung: {{ inspectionPoint.description }}</p>
|
||||
<hr v-if="inspectionPoint.description" />
|
||||
<RadioGroup v-model="value" :name="inspectionPoint.id" class="flex flex-row gap-2">
|
||||
<RadioGroup v-model="value" :name="inspectionPoint.id" class="flex flex-row gap-2" :disabled="!editable">
|
||||
<RadioGroupOption
|
||||
v-for="option in options"
|
||||
:key="option.key"
|
||||
|
@ -39,6 +39,10 @@ export default defineComponent({
|
|||
type: String as PropType<"true" | "false" | "">,
|
||||
default: "",
|
||||
},
|
||||
editable: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
emits: ["update:model-value"],
|
||||
data() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue