Skip to content

Commit

Permalink
chore(searchable-select): add note about values (VIV-000) (#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelbt authored Dec 19, 2024
1 parent 207b2ef commit ba9a1ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/components/src/lib/searchable-select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,12 @@ Sets or gets selected values.
- Type: `Array<string>`
- Default: `[]`

<vwc-note connotation="information" icon="info-line">

web components (as with all HTML elements) can only accept strings as their attributes. <code>Values</code> requires an array, so it has to be set programmatically.

</vwc-note>

```html preview 230px
<vwc-searchable-select multiple label="Countries">
<vwc-option
Expand Down

0 comments on commit ba9a1ad

Please sign in to comment.