open new tab on form submit #2581
-
I wanted to open a preview for news in my laravel orchid panel on submitting a form through post. My problem is when users click on preview button the preview is opening on same page but when we press back btn for final submitting the form, the data gets disappeared. So now i m thinking to open the preview on new tab. Anyone can suggest me a better idea to implement will be highly appreciated, I just wanted to show preview but the data should be available on pressing back button which will show thw form page. Thanks in advance This is my screen
I wanted to open a preview for news in my laravel orchid panel on submitting a form through post. My problem is when users click on preview button the preview is opening on same page but when we press back btn for final submitting the form, the data gets disappeared. So now i m thinking to open the preview on new tab. Anyone can suggest me a better idea to implement will be highly appreciated, I just wanted to show preview but the data should be available on pressing back button which will show thw form page. Thanks in advance This is my screen ` public function commandBar(): array
and my preview function `public function preview(NewsItem $new, Request $request)
Even i tried it using Links, but i m not getting the post form data to pass it with route as follows Link::make('previewww') I m new in laravel orchid and needs support. thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
solved by myself |
Beta Was this translation helpful? Give feedback.
How did it?