Skip to content

Commit

Permalink
docs: remove a redundant example section in select
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-mota authored and jordanjones243 committed Jan 10, 2025
1 parent d105eb5 commit c665588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
12 changes: 0 additions & 12 deletions components/select/apiExamples/labelWithPlaceholder.html

This file was deleted.

20 changes: 2 additions & 18 deletions components/select/docs/partials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ Use the `placeholder` slot to inject a custom placeholder option with the select

</auro-accordion>

## Label and help text slots
## Label, placeholder and help text slots

The following example illustrates the use of the `label` and `helptext` slots for additional placement of content around the select menu.
The following example illustrates the use of the `label`, `placeholder` and `helptext` slots for additional placement of content around the select menu.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/slots.html) -->
Expand All @@ -61,22 +61,6 @@ The following example illustrates the use of the `label` and `helptext` slots fo

</auro-accordion>

## label with placeholder

The `label` slot and `placeholder` slot may be used together.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/labelWithPlaceholder.html) -->
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<auro-accordion alignRight>
<span slot="trigger">See code</span>

<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/labelWithPlaceholder.html) -->
<!-- AURO-GENERATED-CONTENT:END -->

</auro-accordion>

## Example with auro-icons in options

Displays an `<auro-select>` element with `<auro-icon>` elements in each option.
Expand Down

0 comments on commit c665588

Please sign in to comment.