Skip to content

Add Long Text to custom field type selector - #220

Open
rsaether76 wants to merge 1 commit into
admonstrator:mainfrom
rsaether76:agent/add-longtext-custom-field-option
Open

Add Long Text to custom field type selector#220
rsaether76 wants to merge 1 commit into
admonstrator:mainfrom
rsaether76:agent/add-longtext-custom-field-option

Conversation

@rsaether76

Copy link
Copy Markdown

Summary

Adds Paperless-ngx longtext as a selectable custom field type in the Paperless-AI Next settings UI.

Paperless-AI Next already preserves configured longtext custom fields through CUSTOM_FIELDS, and the shared custom field validator only applies the 128-character length guard to string fields. This change lets users select long text fields from the settings page instead of manually editing Docker environment JSON.

Changes

  • Adds Long Text / longtext to the custom field type dropdown in views/settings.ejs.
  • Adds a lightweight regression test that checks the settings template exposes the longtext option.
  • Registers the new test in the existing test runner under the processing area.

Testing

node scripts/run-tests.js --test custom-field-longtext-ui
node --check scripts/run-tests.js
git diff --check

@rsaether76
rsaether76 marked this pull request as ready for review July 9, 2026 16:43
@admonstrator admonstrator self-assigned this Jul 16, 2026
@admonstrator admonstrator added the enhancement New feature or request label Jul 16, 2026
@admonstrator admonstrator added this to the v2026.08.01 milestone Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants