From 8d617fb98cb5c7547e99eb0ef87cf493b33871f0 Mon Sep 17 00:00:00 2001 From: Alexander Krolick <104371843+ak-beam@users.noreply.github.com> Date: Fri, 11 Aug 2023 07:58:14 -0700 Subject: [PATCH] Expand on comment about space-separated value for sl-select (#1502) --- src/components/select/select.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/select/select.component.ts b/src/components/select/select.component.ts index 8a74a1d4..bf4db7ce 100644 --- a/src/components/select/select.component.ts +++ b/src/components/select/select.component.ts @@ -97,7 +97,10 @@ export default class SlSelect extends ShoelaceElement implements ShoelaceFormCon /** * The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the - * value will be a space-delimited list of values based on the options selected. + * value attribute will be a space-delimited list of values based on the options selected, and the value property + * will be an array. + * + * **Note** For this reason, SlOption values must not contain spaces. */ @property({ converter: {