Laravel obtenga toda la entrada antigua
$old = session()->getOldInput();
// or javascript
var oldInput = <?= json_encode(session()->getOldInput()); ?>;
console.log("oldInput", oldInput);
Encouraging Elk