Skip to content

Commit

Permalink
Expand on comment about space-separated value for sl-select (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-beam committed Aug 11, 2023
1 parent a6e225e commit 8d617fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/select/select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 8d617fb

Please sign in to comment.