News

"Don't Remember" Form Helper Added in Inertia.js 2.3.7

Published
"Don't Remember" Form Helper Added in Inertia.js 2.3.7 image

Release Date: January 7, 2026

Inertia Version: 2.3.7

Summary

Inertia 2.3.7 was released on January 7, 2026. This patch version introduces a dontRemember() form helper method, fixes polling breaking in browser auto-completion, and a TypeScript unbound-method ESLint warning when destructuring methods from useForm().

What's New

Inertia.js added a dontRemember() method to the form helper, which allows excluding specific fields from being remembered in history state. You can use this for sensitive fields such as passwords or credit card details:

const form = useForm('payment-form', {
card_number: '',
cvv: '',
expiry: '',
}).dontRemember('card_number', 'cvv')

See Pull Request #2792 for details.

References

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article