You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading a file, that is larger than what is allowed by the web-server. The request never reaches laravel.
So instead of a InertiaResponse, we get a html response.
I understand this causes Inertia to show a huge modal, with the error html.
I feel this is less than ideal. The modal should be optional, I should be able to catch such a situation and instead show a styled message or alert box. Is this possible ? Or any other way to do it ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When uploading a file, that is larger than what is allowed by the web-server. The request never reaches laravel.
So instead of a InertiaResponse, we get a html response.
I understand this causes Inertia to show a huge modal, with the error html.
I feel this is less than ideal. The modal should be optional, I should be able to catch such a situation and instead show a styled message or alert box. Is this possible ? Or any other way to do it ?
Beta Was this translation helpful? Give feedback.
All reactions