We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a8378c commit 13d06a5Copy full SHA for 13d06a5
interactions/client/models/component.py
@@ -84,7 +84,7 @@ class SelectMenu(ComponentMixin):
84
:ivar Optional[bool] disabled?: Whether the select menu is unable to be used.
85
"""
86
87
- type: ComponentType = field(converter=ComponentType)
+ type: ComponentType = field(converter=ComponentType, default=ComponentType.SELECT)
88
custom_id: str = field()
89
options: List[SelectOption] = field(converter=convert_list(SelectOption))
90
placeholder: Optional[str] = field(default=None)
0 commit comments