Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(Dropdown): Update Usage tab with Combo box custom value functionality #4364

Merged
merged 4 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 a custom or unique value that is not included in
Kritvi-bhatia17 marked this conversation as resolved.
Show resolved Hide resolved
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
Loading