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 ef78980 commit 9cf2886Copy full SHA for 9cf2886
discord/ui/label.py
@@ -109,7 +109,7 @@ def set_item(self, item: ModalItem) -> Self:
109
if isinstance(item, InputText) and item.label:
110
raise ValueError(f"InputText.label cannot be set inside Label")
111
if self.modal:
112
- item._modal = self.modal
+ item.modal = self.modal
113
item.parent = self
114
115
self.item = item
0 commit comments