->action(function (array $data, self $livewire, Action $action, Form $form) {
$form->fill();
$livewire->js("document.getElementById('{$form->getStatePath()}.code').focus()");
$action->halt();
}),
->action(function (array $data, self $livewire, Action $action, Form $form) {
$form->fill();
$livewire->js("document.getElementById('{$form->getStatePath()}.code').focus()");
$action->halt();
}),