inertiaui / modal

With Inertia Modal, you can easily open any route in a Modal or Slideover without having to change anything about your existing routes or controllers.
https://inertiaui.com/inertia-modal/docs
MIT License
136 stars 24 forks source link

Typescript issues - React #74

Open TechNech opened 2 months ago

TechNech commented 2 months ago

I am getting some typescript issues with Reactjs inertia and Laravel. Though the modal is rendering, I tried everything but no luck!

Any Help!?

image
alfonsogarza commented 2 months ago

@TechNech any luck?

TechNech commented 2 months ago

@TechNech any luck?

Nope! But I saw there were new version update for the package. Maybe that solves the issue but I haven't checked.

I am on 0.14.0

alfonsogarza commented 2 months ago

@TechNech any luck?

Nope! But I saw there were new version update for the package. Maybe that solves the issue but I haven't checked.

I am on 0.14.0

No luck

TechNech commented 2 months ago

Which version do you have installed?

alfonsogarza commented 2 months ago

0.17

Probably obvious and definitely not ideal but in case you didn't know, you can ignore the error


// @ts-expect-error 
<Modal slideover>...</Modal>
TechNech commented 2 months ago

Thanks alot, already applied that fix. hehe

andresthinkme commented 2 months ago

Any updates on this issue? I seem to be having the same problem.