Expand on comment about space-separated value for sl-select (#1502)

This commit is contained in:
Alexander Krolick
2023-08-11 07:58:14 -07:00
committed by GitHub
parent a6e225e47c
commit 8d617fb98c

View File

@@ -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: {