Skip to content

Commit 13d06a5

Browse files
authored
fix: give SelectMenu a default type (#846)
1 parent 5a8378c commit 13d06a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/client/models/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class SelectMenu(ComponentMixin):
8484
:ivar Optional[bool] disabled?: Whether the select menu is unable to be used.
8585
"""
8686

87-
type: ComponentType = field(converter=ComponentType)
87+
type: ComponentType = field(converter=ComponentType, default=ComponentType.SELECT)
8888
custom_id: str = field()
8989
options: List[SelectOption] = field(converter=convert_list(SelectOption))
9090
placeholder: Optional[str] = field(default=None)

0 commit comments

Comments
 (0)