Skip to content

Change iXSelect onValueChange return type depending on the selected mode when values are cleared #2219

@levinbohrisch

Description

@levinbohrisch

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

Suggestion / feature request

The value of IxSelect depends on the mode that is selected for the iXSelect componement (multiple= array, single = string) which also defines the return type of the IxSelect for the onValueChange event which returns depending on the mode either a string or an array.

Altough when the values are cleared (allowClear={true}) the onValueChange event always returns an empty array.
It would be more elegant if the onValueChange event returns an empty array or an empty string depending on the mode that is selected.

Metadata

Metadata

Labels

BacklogIts part of the team backlogtype: enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions