`ModalBuilder` validation error

When creating a modal like this:

export default class InputSocialMediaAccountName extends CustomModal {
    public override async build() {
        this.setCustomId(PresetModal.InputSocialMediaAccountName)
            .setTitle('Some title')
            .setComponents([
                new ActionRowBuilder<TextInputBuilder>() //
                    .setComponents([
                        new TextInputBuilder()
                            .setCustomId('handle')
                            .setLabel('Something')
                            .setMinLength(1)
                            .setPlaceholder('test')
                            .setRequired(true)
                            .setStyle(TextInputStyle.Short)
                    ])
            ]);
    }
}


I'm running into this error: https://pastebin.com/S5fda8s4

Not sure what the issue could be as the validation error isn't really helpful (or I just don't know how to interpret it;

CustomModal for reference
export default abstract class CustomModal extends ModalBuilder {
    constructor(public readonly manager: ModalsManager) {
        super();
    }

    public abstract build(): Promise<void>;
}
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?