Skip to content

Fix incorrect field validation for LongTextArea and Html fields#1764

Merged
paustint merged 1 commit into
mainfrom
bug/1763
Jun 4, 2026
Merged

Fix incorrect field validation for LongTextArea and Html fields#1764
paustint merged 1 commit into
mainfrom
bug/1763

Conversation

@paustint
Copy link
Copy Markdown
Contributor

@paustint paustint commented Jun 4, 2026

Updated validation messages and logic for LongTextArea and Html fields to ensure that the character count is correctly enforced between 256 and 131,072.

resolves #1763

Copilot AI review requested due to automatic review settings June 4, 2026 00:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the “Length” field validation UX for Salesforce LongTextArea and Html (Rich Text Area) field creation, aligning the user-facing help/error messages with the actual allowed character limits (256–131,072).

Changes:

  • Update the “Length” help text for LongTextArea/Html to state the correct inclusive range (256–131,072).
  • Align invalidErrorMessage for both LongTextArea and Html with the same correct range.
  • Refactor getRowsForExport’s reduce formatting for readability without changing behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paustint paustint merged commit 8fc96da into main Jun 4, 2026
9 checks passed
@paustint paustint deleted the bug/1763 branch June 4, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Fields: Incorrect field validation on log text area fields

2 participants