Skip to content

[DataTablesBulma 2.2.1 and ButtonsBulma] Uncaught TypeError: Cannot read properties of undefined (reading 'defaults')` #1

@francesco-loreti

Description

@francesco-loreti

Hello,
after the latest update of ‘DataTables Bulma’, the responsive extension not working.

"datatables.net-bm": "^2.2.1",
"datatables.net-buttons-bm": "^3.2.0",
import DataTable from 'datatables.net-bm';
import 'datatables.net-buttons-bm';

I have this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'defaults')

// node_modules/datatables.net-buttons-bm/js/buttons.bulma.mjs
/*! Bulma integration for DataTables' Buttons
 * © SpryMedia Ltd - datatables.net/license
 */
$7.extend(true, dataTables_bulma_default2.Buttons.defaults, {

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions