Memory Form

Save input values even after page refresh by enclosing them with a Memory Form component. Please notice: only inputs with an id are saved. You must provide a key which the internal webcomponent uses to address the browser’s local storage. This component is used internally by the Form component.

Add the override property if you want to override the values in the browser’s localstorage by values sent from the server on page load.

'key',
'override' => false,
<x-memoryForm key="sample-memory-form">
    <x-inputField id="sample-input-id" />
</x-memoryForm>