910 questions
1
vote
0
answers
26
views
Show a success message after deletion from nova resource
<?php
namespace App\Nova;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Laravel\Nova\Actions\Action;
use Laravel\Nova\Fields\ID;
use Laravel\Nova\Http\Requests\NovaRequest;
...
0
votes
0
answers
73
views
laravel nova show hide password in login
Problem
My Laravel project uses Nova dashboard.
I want to add an eye icon to show/hide the password in the built-in Nova login page.
What I tried
I checked if vendor:publish exposes Nova views — but ...
0
votes
0
answers
64
views
Laravel Nova Breadcrumbs with Custom Icons
I'm using Laravel Nova and looking for a way to customize breadcrumbs.
I want to add icons and also change the text of some pages.
I've checked the Nova documentation, but I couldn't find an official ...
0
votes
1
answer
271
views
Laravel 10 / Nova 4 - Inertia requests must receive a valid Inertia response
I have been racking my brains for days over this problem and could not fix it yet. I would be so appreciate if someone could help me!
# Current Environment (Local Docker)
"php": "8.1&...
0
votes
1
answer
400
views
I got composer error with nova licence issue
On laravel 11 site I need manually edit content of nova-permission package and I edited my root composer.json :
"require": {
...
"vyuldashev/nova-permission": &...
0
votes
0
answers
45
views
How to make test for nova action class, which is called from user's view page?
On laravel 11 / nova 4 app I use action class, which is called from user's view page :
<?php
namespace App\Nova\Actions\User;
use App\Enums\UserBalanceActionTypeEnum;
use App\Library\Facades\...
0
votes
0
answers
105
views
How can I integrate Fancybox in Laravel Nova for an image gallery?
I'm building a Laravel Nova project and would like to integrate Fancybox to display an image gallery with lightbox and slider functionality. I have a field (stored as a JSON array of image paths) that ...
1
vote
1
answer
116
views
not access offset of type Laravel\Nova\Support\PendingTranslation on array error when using maatwebsite/laravel-nova-excel
I'm encountering the following error when using the maatwebsite/laravel-nova-excel package in a Laravel Nova project:
Cannot access offset of type Laravel\Nova\Support\PendingTranslation on array
I ...
0
votes
1
answer
40
views
How can I install Laravel Nova::SearchableRelation?
Going through Laravel Nova documentation, I noticed that SearchableRelation appears to be a built-in feature in Nova. However, I couldn't find it in my project.
How can I install or enable it?
For ...
0
votes
0
answers
38
views
Nova resource search on click/enter, instead of while typing
I have a resource of 10,000,000+ items and search is slow, especially while it searches for each letter typed.
I have found a half-fix https://nova.laravel.com/docs/resources/the-basics#resource-index-...
0
votes
0
answers
20
views
How on opened form (BelongsToMany * BelongsToMany) to susbtitute standard select component with plugin?
In Laravel 10 / nova 4.27 app Category model has 'parent_id' field (root nodes), and BelongsToMany product relations.
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Relations\...
0
votes
1
answer
65
views
Why created lense is not shown in Dashboard page?
Reading manuals https://nova.laravel.com/docs/lenses/defining-lenses.html
in Laravel 10 / nova 4.27 app I create a new lens with command
php artisan nova:lens Orders/...
-1
votes
1
answer
22
views
How in editor with tabs get currenct model?
In a Laravel 10 / Nova 4.27 app, I'm using a large editor with tabs ("eminiarts/nova-tabs": "^2.2"), and I need to show or hide one of the tabs based on the value of the ...
0
votes
0
answers
43
views
How in table-metrics made action deleting selected row?
I made the following class using table-metric specified in docs.
class OrdersInInvoiceWithExpireDate extends Table
{
/**
* Calculate the value of the metric.
*
* @param \Laravel\...
0
votes
1
answer
238
views
Laravel Nova select field option disable
I want to disable only one option from select list, how I can do it?
Select::make('Cloudflare', 'cloudflareId')
->searchable()
->options($allCloudflares)
->...
0
votes
1
answer
62
views
Attach resource in creation time with pivot columns
product and contracts, both has many to many relationship, I have added following in contracts nova resource.
BelongsToMany::make('Products', 'products', Products::class)
->fields(...
0
votes
1
answer
55
views
Laravel Nova - Belongs To Many Extended Form
Is there a way in laravel nova to extend the belongsToMany attach form to include addition fields.
I have a relationship between Courses and Members as well as a relationship between Courses and ...
0
votes
0
answers
123
views
Extending Laravel Nova: Building a Full Marketplace with Admin and Client Features
I've been diving into Laravel Nova and am really impressed with its intuitive UI and powerful features. As someone still in the learning phase of Laravel, I could really use some guidance from the ...
0
votes
0
answers
61
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
203
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 ...
<...
1
vote
1
answer
429
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
1
answer
119
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
2
answers
361
views
Get corresponding model in laravel nova action fields function
How can I get the current model in the laravel nova actions field function? Can't find it out ...
public function fields(NovaRequest $request)
{
Log::info($request->model());
return [
...
3
votes
2
answers
886
views
Display the Model's Repeater Field JSON Data on the Detail View in Laravel Nova
I'm using the repeater field on my resource which looks and works great for editing, but how do I display the json data it saves to my detail page? I assume I use the KeyValue field for displaying but ...
1
vote
0
answers
86
views
Laravel Nova BelongsToMany relation | models in two separate databases
Laravel Version: 10.47.0
Nova Version: 4.23.0 (Silver Surfer)
PHP Version: 8.2.13
Database Driver & Version: MySQL 10.11.6-MariaDB-1:10.11.6+maria~deb11
Operating System and Version: Debian 11
...