Skip to content

Conversation

@pascalbaljet
Copy link
Member

This PR lets you opt-in to use the <dialog> element when Inertia shows the error modal.

It uses the new configuration system introduced in #2655, so you can opt-in to it with the future.useDialogForErrorModal flag. We'll probably enable this by default in the next major release.

createInertiaApp({
  // resolve, setup, etc.
  defaults: {
    future: {
      useDialogForErrorModal: true,
    },
  },
})

@pascalbaljet pascalbaljet merged commit 33d2463 into master Oct 28, 2025
12 checks passed
@pascalbaljet pascalbaljet deleted the dialog-error branch October 28, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants