mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(textInput): Value must be at least 1 character in length (#10805)
fix(textInput): value must be at least 1 in length
This commit is contained in:
@@ -10,6 +10,6 @@ export const textInputPredicate = z.object({
|
||||
min_length: z.number().min(0).max(4_000).optional(),
|
||||
max_length: z.number().min(1).max(4_000).optional(),
|
||||
placeholder: z.string().max(100).optional(),
|
||||
value: z.string().max(4_000).optional(),
|
||||
value: z.string().min(1).max(4_000).optional(),
|
||||
required: z.boolean().optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user