Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] CheckboxGroupInput #3

Open
1 of 2 tasks
kopax opened this issue Mar 18, 2019 · 0 comments
Open
1 of 2 tasks

[Bug] CheckboxGroupInput #3

kopax opened this issue Mar 18, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@kopax
Copy link
Contributor

kopax commented Mar 18, 2019

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

@kopax kopax added the bug Something isn't working label Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant