Skip to content

Add missing shorthand constructors to RadioButtonGroup #1415

Closed

Description

@Legioth

Other Vaadin select components have shorthand constructors for creating the component with a specific label and optionally also some specific items. RadioButtonGroup has no such constructors.

Activity

  1. changed the title [-]Missing shorthand constructors[/-] [+]Add missing shorthand constructors to RadioButtonGroup[/+] on Feb 15, 2022
  2. web-padawan commented on Mar 28, 2022

    @web-padawan
    Member

    See ComboBox for an example of such missing constructors:

    public ComboBox(String label, Collection<T> items) {
    this();
    setLabel(label);
    setItems(items);
    }

    public ComboBox(String label, T... items) {
    this();
    setLabel(label);
    setItems(items);
    }

  3. self-assigned this
    on Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions