vaadin / vaadin/framework

FR: Provide API to add validation status handler

Open
#10,393 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement workaround
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Right now it's only possible to setValidationStatusHandler, but sometimes we need to addValidationStatusHandler as well.

Example: I want to keep the automatic validation on UI fields, but add extra action which is disabling the save button as well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing setValidationStatusHandler API and the validation flow for UI fields. Additive handling should preserve automatic validation while allowing an additional action, such as disabling the save button. Done means both the existing handler and an added handler can run together, with tests covering that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.