Add checkbox for monitoring when creating node.

This commit is contained in:
baldo 2022-08-26 19:08:31 +02:00
parent f80657e4e0
commit ac6fb7b57a
7 changed files with 338 additions and 58 deletions
frontend/src/components/form

View file

@ -3,11 +3,13 @@ import { computed, getCurrentInstance, onMounted, ref } from "vue";
import { type Constraint, forConstraint } from "@/shared/validation/validator";
import ExpandableHelpBox from "@/components/ExpandableHelpBox.vue";
type InputType = "text" | "number" | "password" | "email" | "tel" | "url";
interface Props {
name: string;
modelValue?: string;
label?: string;
type?: string;
type?: InputType;
placeholder: string;
constraint: Constraint;
validationError: string;