From f8812c394a82d9e623b083f6853476b5007996fd Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Mon, 21 Feb 2022 18:34:13 +0000 Subject: [PATCH] add prop required to prevent form submission if no options selected (closes #42) --- readme.md | 1 + src/components/Example.svelte | 36 ++++++++++++++++++++--------------- src/lib/MultiSelect.svelte | 16 ++++++++++++++++ 3 files changed, 38 insertions(+), 15 deletions(-) diff --git a/readme.md b/readme.md index b6d5a9c..190aaf5 100644 --- a/readme.md +++ b/readme.md @@ -107,6 +107,7 @@ Full list of props/bindable variables for this component: | `input` | `undefined` | Handle to the `` DOM node. | | `id` | `undefined` | Applied to the `` element for associating HTML form `