Comments (7)
No worries, I gathered that you are thin on time so I closed the issue after finding a way of achieving just that. My comment was not meant to sound as negative or a complain. I appreciate your work with inertiajs, I was trying to do something along these lines too, and I am using it heavily. Keep up the good work! I will post my solution shortly.
from inertia-laravel.
Hi @pdiveris !
There's usually a pretty slow response when it comes to issues, unfortunately.
You can re-open the issue if you feel that this would be a feature you'd like to see in the adapter. π
from inertia-laravel.
Sorry folks. I work on this project as I have time. I often don't respond to issues the day they are opened, but rather when I get a moment to sit down and work through them.
For what it's worth, I wouldn't even know how to get an Inertia response to load in a modal instead of the root layout as it does now. The way Inertia works is by utilizing an existing React/Vue.js/Svelte instance, so loading it in an entirely separate part of the DOM doesn't sound easy. That said, modals are totally doable in Inertia, I use them all the time. I simply add them as child components to my page components.
Good luck! π
from inertia-laravel.
I am closing this as I see no interest. I've created a helper that handles the response in a way such that I can force a modal. Thanks.
from inertia-laravel.
Thanks @pdiveris, I appreciate that! πͺ
from inertia-laravel.
@pdiveris could you post that solution of yours please? I'm interested into something similar.
from inertia-laravel.
@reinink / @pdiveris could you post your solutions to modals, please? I am trying to make a "confirm" modal when a user tries to delete something. I was thinking of something like the error display modals but don't know if inertia has a clever way to do this built in.
Thanks!
from inertia-laravel.
Related Issues (20)
- Login not working with Laravel + Inertia + React HOT 1
- problem in running ssr when using vue vite and ziggy
- Add dinamic parameters to Inertia::lazyLoad props HOT 1
- SSR with Dynamically Shared Props HOT 1
- Providing empty object to the view
- Add config option to ignore paths with SSR server HOT 1
- Progress bar not working on route navigation HOT 1
- Laravel / Vue 3 Install Issues HOT 1
- Inertia with Laravel + SSR + pm2 HOT 1
- Laravel Inertia Form Validation Issue
- Safari can not handle redirect()->back() HOT 1
- Router events runs multiple times. HOT 5
- JSON response error on subdomains - Firefox HOT 1
- Inertia with supervisor SSR error HOT 1
- SSR (react) error ui doesn't match initial ui when including prop having html
- β¨Feature Request: Support `ziggy` 2.0 HOT 4
- fails testing nested pros
- External JS files not working unless you manually reload the page HOT 1
- image upload help HOT 2
- Laravel 11 support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inertia-laravel.