From 70768e431eebf134c3f273f5b3419fbcd4a4dda5 Mon Sep 17 00:00:00 2001 From: Martin Skocik Date: Sat, 1 Oct 2022 11:37:28 +0200 Subject: [PATCH] set default value to silence warning, fix #61 --- src/lib/components/SveltyPicker.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/SveltyPicker.svelte b/src/lib/components/SveltyPicker.svelte index 45a71f8..b332c9c 100644 --- a/src/lib/components/SveltyPicker.svelte +++ b/src/lib/components/SveltyPicker.svelte @@ -23,7 +23,7 @@ /** @type {boolean} */ export let required = false; /** @type {HTMLInputElement|null} */ - export let inputElement; + export let inputElement = null; /** @type {string|null} */ export let value = null; /** @type {Date|null} */