Skip to content

docs: show how to report all failing validators of a field at once - #6258

Draft
totally-not-ai[bot] wants to merge 1 commit into
mainfrom
docs/binder-show-all-validation-errors
Draft

totally-not-ai[bot] wants to merge 1 commit into
mainfrom
docs/binder-show-all-validation-errors

Conversation

@totally-not-ai

@totally-not-ai totally-not-ai Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Review risk: two-way door: adds one paragraph and an inline example to the Binder validation page. No other content changes.

Summary

The Multiple Validators section of articles/flow/binding-data/components-binder-validation.adoc showed how to chain validators, but didn't say that validation stops at the first validator that fails. Users with several rules for one field, such as password rules, then only see one message at a time.

What changed

  • A paragraph explaining that validators run in order, validation stops at the first failure, and the field shows only that validator's message.
  • A short inline example that combines several validators into one, runs all of them, and joins the error messages, so all unmet password rules are shown at once.

This replaces the "Show more than one validation message at a time" recipe from the retired Vaadin Cookbook.

Test summary

  • The snippet was compiled against the docs project's Vaadin version, but it isn't kept in the repository because it's inline.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-6258.fly.dev

Changed pages

Added content is highlighted in green; removed content is marked in red on each page.

Built from 2ed8659

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.

0 participants