Skip to content

Commit

Permalink
chore(docs): add missing data attributes for select base
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Jun 4, 2024
1 parent 7b26d25 commit ae47bc3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/docs/content/docs/components/select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ the popover and listbox components.

- **data-filled**:
Indicates if the select has a value, is focused, has start/end content or is open.
- **data-has-value**:
Indicates if the select has selected item(s).
- **data-has-label**:
Indicates if the select has a label. Based on `label` prop.
- **data-has-helper**:
Indicates if the select has helper text. Based on `errorMessage` or `description` prop.
- **data-invalid**:
Indicates if the select is invalid. Based on `isInvalid` prop.

`Select` has the following attributes on the `trigger` element:

Expand Down

0 comments on commit ae47bc3

Please sign in to comment.