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 07e3909 commit 5e7e7eeCopy full SHA for 5e7e7ee
discord/component.go
@@ -534,7 +534,7 @@ type TextInputComponent struct {
534
Label string `json:"label"`
535
MinLength *int `json:"min_length,omitempty"`
536
MaxLength int `json:"max_length,omitempty"`
537
- Required bool `json:"required,omitempty"`
+ Required bool `json:"required"`
538
Placeholder string `json:"placeholder,omitempty"`
539
Value string `json:"value,omitempty"`
540
}
0 commit comments