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

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
PHP News: A New Site for PHP Releases, RFCs, and Packages image

PHP News: A New Site for PHP Releases, RFCs, and Packages

Read article
Pause Polling in Background Tabs in Inertia.js v3.9 image

Pause Polling in Background Tabs in Inertia.js v3.9

Read article
Look What You Helped Me Build image

Look What You Helped Me Build

Read article
BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP image

BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP

Read article
Running Laravel's Scheduler on Multiple Servers image

Running Laravel's Scheduler on Multiple Servers

Read article
Laravel Fake Assertions Now Accept Property Arrays image

Laravel Fake Assertions Now Accept Property Arrays

Read article