Fix Select.required not being applied

This commit is contained in:
z03h 2025-08-25 20:24:37 -07:00 committed by GitHub
parent d5946d1cbc
commit 69f06c9456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -396,6 +396,7 @@ class SelectMenu(Component):
'min_values': self.min_values,
'max_values': self.max_values,
'disabled': self.disabled,
'required': self.required,
}
if self.id is not None:
payload['id'] = self.id