Elastic UI Framework Basic Tables Pagination

I am trying to use Pagination on my table.js (using source code from the examples). However, when I try to click on "Rows per page: " the page crashes with:

Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. (webpack://%5Bname%5D/./node_modules/react/cjs/react.development.js?:95)

Version: 6.7.1
Build: 9007199254740991
Error: Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. (webpack://%5Bname%5D/./node_modules/react/cjs/react.development.js?:95)
    at push../src/ui/public/notify/notify.js.window.onerror (http://localhost:5601/nkz/bundles/commons.bundle.js:123494:32)
    at Object.invokeGuardedCallbackDev (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:98489:16)
    at invokeGuardedCallback (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:98546:31)
    at replayUnitOfWork (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:116868:5)
    at renderRoot (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:117758:13)
    at performWorkOnRoot (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118632:7)
    at performWork (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118544:7)
    at performSyncWork (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118518:3)
    at interactiveUpdates$1 (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118785:7)
    at interactiveUpdates (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:100460:10)

Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118602)

Version: 6.7.1
Build: 9007199254740991
Error: Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118602)
    at push../src/ui/public/notify/notify.js.window.onerror (http://localhost:5601/nkz/bundles/commons.bundle.js:123494:32)

Are you creating a plugin?

There is insufficient info for me to determine what is wrong. Is it possible for you to create a shareable demonstration of the problem?

Yes, you can see my rudimentary repository here (sorry I'm still learning so my program is a mish-mash between examples and my own code):

https://github.com/rndrev/fsm_plugin

The table is returned in main.js as <Table />

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.