fix: do not limit text settings to 999 chars

Fixes https://github.com/Vendicated/Vencord/issues/3322
This commit is contained in:
Vendicated 2025-03-27 01:51:57 +01:00
parent d62be1b94a
commit d563b66842
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
4 changed files with 493 additions and 755 deletions

View file

@ -51,6 +51,7 @@ export function SettingTextComponent({ option, pluginSettings, definedSettings,
onChange={handleChange}
placeholder={option.placeholder ?? "Enter a value"}
disabled={option.disabled?.call(definedSettings) ?? false}
maxLength={null}
{...option.componentProps}
/>
{error && <Forms.FormText style={{ color: "var(--text-danger)" }}>{error}</Forms.FormText>}