next and running inspections

This commit is contained in:
Julian Krauser 2025-07-10 13:22:38 +02:00
parent 1409cf8045
commit 74b05ee97f
14 changed files with 280 additions and 75 deletions

View file

@ -16,7 +16,8 @@
v-model="value"
:min="inspectionPoint.min"
:max="inspectionPoint.max"
:class="{ 'ring-red-500! ring-1!': isInRange }"
:class="{ 'ring-red-500! ring-1!': isInRange && editable }"
:disabled="!editable"
/>
</div>
</div>
@ -38,6 +39,10 @@ export default defineComponent({
type: String,
default: "",
},
editable: {
type: Boolean,
default: true,
},
},
emits: ["update:model-value"],
computed: {