System Information
- 3.4.6:
- macOs 11.1:
- mongodb:
- Node Version: v14.15.4:
- NPM Version: 6.14.10:
- Yarn Version: 1.22.5:
Hello,
I am trying to override the InputMedia field from the upload plugin to make it display or hide depending on other fields values, so I need to access the useDataManager hook from the content-manager plugin.
So I copied the component file here extensions/upload/admin/src/components/InputMedia/index.js
in this file I tried to import useDataManager
this way
import useDataManager from "strapi-plugin-content-manager/admin/src/hooks/useDataManager";
But when I use the hook , I have undefined
.
Does this makes sense to you ?
Am I trying to do something weird ?