Questions tagged [laravel-nova]
Nova is an administration panel for Laravel, made by the creators of Laravel
laravel-nova
903
questions
0
votes
1
answer
37
views
How to prevent a BelongsToMany relationship from allowing `attach`
I have several purchasable models that have a many to many relation ship with the customer model. As such I am using a BelongsToMany relationship.
BelongsToMany::make(__('Courses'), 'courses', Course:...
0
votes
0
answers
27
views
Laravel Nova devtical/nova-qrcode-field package Not working on server
I am using devtical/nova-qrcode-field package to display a QRCode image field in laravel Nova, it works perfectly locally but when pushed to the server (Amazon lightsail) for test it doesn't display.
...
0
votes
1
answer
41
views
Password Confirmation not working correctly in Laravel Nova
I am working on setting up a password confirmation field in my Laravel Nova resource.
In the AppServiceProvider.php I have:
use Illuminate\Validation\Rules\Password;
Password::defaults(function () {
...
0
votes
1
answer
31
views
How to use laravel nova trix field in own custom field?
Can someone please tell me how to use the included laravel nova fields in an own custom field. In my case I want to use the TrixField.vue in my custom field. I can't find how to implement this ...
<...
0
votes
1
answer
72
views
Custom Action Buttons on Form in Laravel Nova 4
I am trying to create a custom button at the bottom of a resource that will save the record and then take all of the information in that record and duplicate it into another record.
This duplicated/...
0
votes
0
answers
22
views
How to display data in laravel nova from file instead of model?
This is a data in countries.php file
i need to display it into country nova resource but i don't want to use country model
return [
'all' => [
[
'alpha2code' => 'AF',
...
0
votes
0
answers
27
views
Can't see any change after updateing Vue component inside Laravel Nova project
I am having issue I wasn't able to fix with googleing or stackoverflowing and its super strange one. It could easily be lack of knowledge on my side so have mercy.
I have made an application recently ...
0
votes
1
answer
20
views
get current tab lang from outl1ne/nova-translatable
Would it be possible to do something like that using https://github.com/outl1ne/nova-translatable?
Select::make('Product', 'product')->options(
function () {
//get product if database ...
0
votes
1
answer
48
views
Can I add a standalone button next to the create button in Nova 4 in Laravel?
I would like to add a standalone button just next to the create button in a resource. without lots of work it's only purpose that it will work as an anchor tag to redirect to another page. What's a ...
0
votes
0
answers
29
views
How to add custom view on particular page for detail page in Nova laravel
I am using Nova laravel. I have a requirement where in index page I am showing list view where in table on field have IDs of other table. Now in detail page I want to show the listing instead of ...
2
votes
1
answer
29
views
Add drop-down to change status using action in Nova laravel
I am using Nova laravel dashboard. I want to achieve is to add drop-down with option and by that I can change status in database. I added action for changing status, now I want a way to add drop-down ...
0
votes
0
answers
29
views
how to pass request->user() to QueuedExport in laravel nova excel
In maatwebsite/laravel-nova-excel package, I'm trying to use QueuedExport to generate an excel report.
With DownloadExcel, everything worked fine, but when I switched to QueuedExport,
"Call to a ...
0
votes
1
answer
46
views
Invoice create view in Nova Laravel
I am working on a project using Nova, and I need to create a standard invoice view resource for the invoice model. I am uncertain about the best approach and would appreciate some guidance.
Here's ...
0
votes
0
answers
13
views
How to prevent an unfiltered query on millions of records?
I have a resource where the default filter uses a limited date range to prevent query failures on the entire database. How can I ensure users either select a narrow date range or, if no date range is ...
0
votes
0
answers
175
views
Laravel Impersonate User
I am trying to implement a impersonate feature into my Laravel 11 app without using any package. But it redirects back to login page.
Below is my middleware handle
public function handle(Request $...