From 8721e8844ad31e68a3a376dd067766c36f8031ba Mon Sep 17 00:00:00 2001 From: Johann150 Date: Fri, 14 Oct 2022 16:55:37 +0200 Subject: [PATCH] client: fix vue warning > Invalid prop: type check failed for prop "modelValue". Expected String | Number, got Null --- packages/client/src/os.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/os.ts b/packages/client/src/os.ts index 4b549f884..a6707b3d3 100644 --- a/packages/client/src/os.ts +++ b/packages/client/src/os.ts @@ -247,7 +247,7 @@ export function inputText(props: { input: { type: props.type, placeholder: props.placeholder, - default: props.default, + default: props.default ?? '', }, }, { done: result => {