Skip to content

[question] setLicenseKey for 2 major versions (5 and 6) #19860

@morAtStampli

Description

@morAtStampli

The problem in depth

Hi,
i have an app that currently use these 2 versions of date picker and data grid pro,
"@mui/x-data-grid-pro": "5.7.0",
"@mui/x-date-pickers-pro": "^6.7.0",

for some reason when i am trying to set the license key for both libraries,
i am getting only 1 and not both (date picker set correctly but the datagrid showing missing key message)

is there ay way to work with 2 different major versions for separated pro libs ?
we want to get the latest date range picker but we cant upgrade the grid at the moment.

here is what we did at the moment in order to achieve it,

  • we loading this in the root level.
  • we just upgrade our pro license because we had updates until 2013, the question is if i need to use the previous key that used for the grid OR using just 1 license key (the new one)
Image

Your environment

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: setLicenseKey

Order ID: 111111

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: x-licenseChanges related to @mui/x-license.status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.support: commercialSupport request from paid users.support: pro standardSupport request from a Pro standard plan user. https://mui.com/legal/technical-support-sla.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions