© 2026 Hedgehog Software, LLC
Builder
->hintAction(Action::make('copyJson') ->label("Inhalt exportieren") ->icon('heroicon-m-clipboard') ->action(function (Get $get, $state) { dd(json_encode($state, JSON_PRETTY_PRINT)); }), ),
dd
navigator.clipboard.writeText(copyText.value);
->hintAction(fn() => [ Action::make('copyJson') ->label("Inhalt exportieren") ->icon('heroicon-m-clipboard') ->action(function (Get $get, $state) { ... }), Action::make('importJson') ->label("Inhalt importieren") ->icon('heroicon-m-arrow-down-on-square') ->form(fn($state) => [ TextArea::make('copyJsonTextarea') ]) ->action(function (Get $get, $state) { ... }) ])