robe-react-ui icon indicating copy to clipboard operation
robe-react-ui copied to clipboard

SelectInput Multi doesn't work with integer valueField

Open ozgengures opened this issue 8 years ago • 0 comments

  • 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.

ozgengures avatar Apr 14 '17 20:04 ozgengures