vaadin / vaadin/framework

When I have just one field on the UI, I want to easily validate the value of the field, without having to use binder or listening to event and manually show error message

Open
#8,294 11 comments 5 reactions 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

Hi,
I believe this is the right place to leave V8 feedback.

Shouldn't it be possible to validate/convert values in Fields without having to bind to a bean?

I have a form with a single field. It seems weird to have to bind this one field to a bean in order to validate it.

Thanks!
Dan.

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 reviewing the existing Field and Binder APIs and how validation, conversion, and error messages are currently handled. Determine the intended standalone-field API and its behavior for a single field without bean binding; the work is done when that flow is defined and validated without manual event handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.