Skip to content

bug(listbox): Error message for multi selection does not make sense #32643

@rubiesonthesky

Description

@rubiesonthesky

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

This error message "Listbox cannot have more than one selected value in multi-selection mode." does not really make sense. I guess it should say that "in single-selection mode" or "when not in multi-selection mode".

Reproduction

No reproduction as this is just logic error in the text error.

Expected Behavior

Actual Behavior

Environment

Angular CLI : 21.0.5
Angular : 21.0.8
Node.js : 22.21.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsaria/listbox

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions