Rafał Dzięgielewski

Results 242 comments of Rafał Dzięgielewski

AdminJS uses old formidable middleware for forms, you shouldn't use multer. If you create an AdminJS action instead of an endpoint, the file will be available in request.payload without any...

```ts componentLoader: new ComponentLoader(), ``` This is wrong. `ComponentLoader` should be a singleton created in a separate file and imported wherever it's needed. In your case, it should be imported...

This seems to be correct. If your server doesn't bundle custom components for some reason, you can try adding this after you create AdminJS instance: ```ts if (process.env.NODE_ENV === 'production')...

you could try installing `@babel/plugin-syntax-import-assertions` manually, I don't use `pnpm` myself and it looks like it cannot find the package

Have you done any modifications to Keyword resource `delete` action? Can you share your configuration of relations feature and what's sent in the Network tab in the browser? The modal...

I tried to reproduce it using the example from the documentation and `@adminjs/sql` but it looks to be working fine for me. https://github.com/SoftwareBrothers/adminjs/assets/16668924/40455658-3b4c-4e13-a04c-ed6310369a3d Could you share what's sent in the...

@nickgieschen does your junction table have an explicit primary key or a composite key? AdminJS won't work without explicit keys. The `delete relation` handler first finds the junction record using...

this is a composite key, as I wrote above it won't work since AJS doesn't support composite keys

My guess is that your imports load the entire MUI bundle which is very heavy. You could try to use tree-shaking guidelines from their docs: https://mui.com/material-ui/guides/minimizing-bundle-size/

You'd have to override list action component so that `fetchData` from `useRecords` hook is run in intervals.