vaadin / vaadin/framework

CheckBoxGroup enhanced select API

Open
#9,482 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Maybe you should provide other form of APIs for the select

        CheckBoxGroup<Person> xyz = new CheckBoxGroup<>();
        xyz.setItems(service.getEntries());
        xyz.select(service.getEntries()); // No luck :'(
        service.getEntries().forEach(xyz::select); //Only way of doing it

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 at CheckBoxGroup and its existing select methods, using the example's setItems and service.getEntries flow to understand the requested behavior. Done means the component has a clearly defined supported way to select the supplied entries, with the resulting behavior verified by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.