Skip to content
Discussion options

You must be logged in to vote

There isn't a direct prop or API in the Paste Combobox to set the option list (dropdown) width independently from the input. The groupTemplate and optionTemplate properties only affect how options and groups are rendered, not the container's width (source).

To control the option list width, you can use custom CSS targeting the option list container via its data-paste-element attribute (usually COMBOBOX_LISTBOX). For example, you could add a style like:

[data-paste-element="COMBOBOX_LISTBOX"] {
  width: 400px; /* or any value you need */
}

If you're using the CustomizationProvider, you can also pass styles for COMBOBOX_LISTBOX to customize its width (source). This approach lets you set th…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@cogwizzle
Comment options

cogwizzle Oct 9, 2025
Collaborator Author

Answer selected by cogwizzle
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Type: Question Further information is requested Area: Components Related to the component library (core) of this system
2 participants