Skip to content

[Bug] CheckboxGroupInput  #3

Description

@kopax

ReferenceArrayField

This BS component produce errors.

Issue Type

Description

 import { CheckboxGroupInput } from 'ra-ui-materialui';

    <ReferenceInput
      reference={references.projectManagement.projects.services.name}
      source="projectServiceIdList"
    >
      <CheckboxGroupInput source="id" />
    </ReferenceInput>

Work, while:

 import { CheckboxGroupInput } from '@bootstrap-styled/ra-ui';

    <ReferenceInput
      reference={references.projectManagement.projects.services.name}
      source="projectServiceIdList"
    >
      <CheckboxGroupInput source="id" />
    </ReferenceInput>

produce:

react-dom.development.js:287 Uncaught TypeError: value.filter is not a function
    at CheckboxGroupInput.js:90
    at HTMLUnknownElement.callCallback (react-dom.development.js:147)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
    at invokeGuardedCallback (react-dom.development.js:250)
    at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:265)
    at executeDispatch (react-dom.development.js:571)
    at executeDispatchesInOrder (react-dom.development.js:596)
    at executeDispatchesAndRelease (react-dom.development.js:695)
    at executeDispatchesAndReleaseTopLevel (react-dom.development.js:704)
    at Array.forEach (<anonymous>)
    at forEachAccumulated (react-dom.development.js:674)
    at runEventsInBatch (react-dom.development.js:844)
    at runExtractedEventsInBatch (react-dom.development.js:852)
    at handleTopLevel (react-dom.development.js:5030)
    at batchedUpdates$1 (react-dom.development.js:21425)
    at batchedUpdates (react-dom.development.js:2247)
    at dispatchEvent (react-dom.development.js:5110)
    at react-dom.development.js:21482
    at Object.unstable_runWithPriority (scheduler.development.js:255)
    at interactiveUpdates$1 (react-dom.development.js:21481)
    at interactiveUpdates (react-dom.development.js:2268)
    at dispatchInteractiveEvent (react-dom.development.js:5086)

Version: 1.0.20

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions