Skip to content

Commit

Permalink
docs(Dropdown): Update Usage tab with Combo box custom value function…
Browse files Browse the repository at this point in the history
…ality (#4364)

* Adding custom value content

* Anna's feedback
  • Loading branch information
Kritvi-bhatia17 authored Nov 20, 2024
1 parent 4aa7327 commit 47634d1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/pages/components/dropdown/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,25 @@ boxes are useful when the data populating the list may come from a database.
</Column>
</Row>

#### Entering a custom value

In a combo box, users can type in a custom or unique value that is not included
in the list of predefined options.

- If the desired option isn’t available in the list, users can start typing
their custom value directly in the field, filtering out options as they type.
- To save the new custom value, click outside the field with the mouse or press
`Tab` or `Enter` on the keyboard.
- Once saved, the placeholder text changes to display the custom typed value.

<Row>
<Column colLg={8}>

![Entering a custom value in a default combo box.](images/dropdown-usage-11d.png)

</Column>
</Row>

## Modifiers

#### Inline
Expand Down

0 comments on commit 47634d1

Please sign in to comment.