Skip to content

SelectInput Multi doesn't work with integer valueField #67

@ozgengures

Description

@ozgengures
  • Robe React UI Version: 1.1.36
  • Node Version: v6.10.2

Actual behavior

Multi Select Input doesn't select items when valueField type like integer.

const langs = [
    {
        key: 1,
        value: "English"
    },
    {
        key: 2,
        value: "Turkish",
        disabled: true
    },
    {
        key: 3,
        value: "Kurdish"
    }
];

Suggest a fix

I think the problem seems to be that the "robe react commons" --> getValueByKey function returns undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions