diff --git a/pages/client/[id].vue b/pages/client/[id].vue index b64c240..ee7f852 100644 --- a/pages/client/[id].vue +++ b/pages/client/[id].vue @@ -55,10 +55,10 @@ function updatePagedListVModel(element: Array) { const editMode = ref(route.query?.edit === "1"); function editorFields(): Array { return [ - { key: "name", type: "text", label: "Name", value: client.value.name ?? undefined }, - { key: "address", type: "text", label: "Address", value: client.value.address ?? undefined }, - { key: "phone", type: "text", label: "Phone", value: client.value.phone ?? undefined }, - { key: "email", type: "text", label: "E-mail", value: client.value.email ?? undefined }, + { key: "name", type: "text", label: "Name", value: client.value.name ?? "" }, + { key: "address", type: "text", label: "Address", value: client.value.address ?? "" }, + { key: "phone", type: "text", label: "Phone", value: client.value.phone ?? "" }, + { key: "email", type: "text", label: "E-mail", value: client.value.email ?? "" }, ]; }