Raman

Results 23 comments of Raman

May be it helps you if you want to have as multiple upload so multiple created fields ``` php foreach ($form->getData()->getPhoto() as $index => $photo) { $photoItem = new Photo();...

@ed-lea, It doesn't work with so lot of images even when use your example.

Nitpick: If anyone encounters this issue, here is a quick fix for Unix systems using Yarn post-install: ``` #!/bin/bash cd ./ echo "Tuning of TypeScript types for React node_modules packages..."...

And to add my 2 cents, given that we’re facing this issue as the optimal fix appears to involve the Unix `sed` command, pointing to a deployment issue with Material...

I have verified that each package includes `"@types/prop-types": "^15.7.12",` which indicates that the entire project can transition to the correct PropTypes import syntax for TypeScript compatibility. Here is the Pull...

@Janpot I've tailored the solution to directly address the core issue with the `tsc` in the upcoming PR https://github.com/mui/material-ui/pull/43736. We can either keep this https://github.com/mui/material-ui/pull/43701 PR open for future reference...

@oliviertassinari The issue with `tsc` primarily pertains to `*.d.ts` into `utils` files. From what I can tell, your enhancement doesn’t seem to break the TypeScript behaviour

@Janpot @oliviertassinari I might be mistaken, but it appears that we should refer to the `@types/prop-types` package: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/prop-types/index.d.ts to address the concerns raised in my pull requests like https://github.com/mui/material-ui/pull/43736

@oliviertassinari It's impressive how smoothly the previous decision was altered by https://github.com/mui/material-ui/issues/43700#issuecomment-2347374665. Just a quick observation: the updated PR description still seems incorrect after update, as it references a `*.ts`...

@Janpot I've set up a fresh repository at https://github.com/morozow/material-ui-tsc-fix. I started by adding a default `tsconfig.json` following the minimal configuration guidelines from https://mui.com/material-ui/guides/typescript/#minimum-configuration. Next, I installed Material UI as instructed...