jamesoneill jamesoneill
0

Custom file upload logic

Hey. I have a field to a Nova project that accepts a CSV file and then runs some custom logic on that CSV file to create some relations. The best way I've fou...
Nova
0
23
MiguelStevens MiguelStevens
0

Nova Translating Strings in Custom Tool

I created a Tool in Nova, Now I would like to localise it so the strings I use in my Vue files can be multilanguage. Is this possible? I see an en.json file in...
Nova
0
6
MikeCornille MikeCornille
0

Laravel Nova Google Map with Directions and Mileage

Does anyone know if theres an existing package at novapackages.com that can be adjusted to take in a start_city, state and get directions to and mileage to a destination_ci...
Nova
0
10
ermenagildo ermenagildo
2

nova custom path

Hello. Changed custom 'path' => '/nova' to 'path' => '/admin' and have 404 error. Any idea how to fix it? PS: all caches was cleared....
Nova
2
35
lamvnd lamvnd
2

How to create select filter with auto-complete?

Hi everyone, Example i have 2 table like categories and posts with relationship is one to many. So in the post resource, i need filter to get posts by category. Howe...
Nova
2
46
kakallatt kakallatt
1

Eager load on Nova Resource and Model

I have 2 tables: Product and Categories. Should I declare eager load in Nova Resource like this: // For Product Resource /** * The relationships that shou...
Nova
1
18
Kishore032 Kishore032
0

Using Nova as customer facing UI (not just admin)

All - This is both to share my experience with Laravel Nova and to ask for help with a couple of issues. First, the story: I am relatively new to Laravel and...
Nova
0
26
wkinne wkinne
0

Boolean index view, remove colors

I have a client who is color blind that makes the boolean green/red on index view of a resource tough. Is there a way to display text instead on that index table vie...
Nova
0
26
zelaza zelaza
2

How to Hide/Disable Nova API Routes?

Hi. I'm not using the Nova API routes at the moment so I would like to hide/disable them. How can I do this? Thanks...
Nova
2
36
marek7 marek7
7

Can I show a card only for a specific user type?

For example, I have only user types ADMIN, CLIENT and I want to show some specific card only for ADMINs, is it possible?...
Nova
7
113
kakallatt kakallatt
1

Excluding relatableQuery in edit form view of Laravel Nova?

I have 2 resources: Product and Inventory (BelongsToMany relationship) The pivot table (inventory_product) has an extra field is quantity (...
Nova
1
27
Ruitjes Ruitjes
2

Laravel Nova Metrics In The Future

Hello everyone, Is it possible to create a Laravel Nova Trend Metrics, that goes to the future instead of back in time? So: return [ 3 => '3 Days', ]...
Nova
2
49
DominicT DominicT
2

Laravel nova custom card problem

I can't get the resourceId in a custom card, at the compute function. Someone would have the trick? class CountRelationshipsPerUser extends Card { /**...
Nova
2
47
Sontae Sontae
0

Load images from vendor

Hi we have bought a Nova licence and we are trying to implement our own custom tools. However, while we run “npm run watch” if we have a vendor with images or f...
Nova
0
31
kakallatt kakallatt
0

Pass data from Nova Resource to FormField

I created a custom Field in Nova and I want to show a list of category in the view and a checkbox will associate with each category. I already have a recursive array...
Nova
0
25
3KyNoX 3KyNoX
10

Laravel Spark with Nova make sense?

Hello there, I'm just discovering new Laravel Nova and looking to integrate it in Spark / or replace current Spark admin with Nova. What's your thoughts about this?...
Nova
10
730
adrian.cmd adrian.cmd
1

Nova Filter Query - Translate from SQL

I've a Model with some ratings. With the Nova filter, I want only to show the results with a selected rating ($value = 1|2|3|4|5| >= 3| ...). This SQL is working...
Nova
1
56
MiguelStevens MiguelStevens
1

Laravel Nova, No hint path defined for [menu]

I'm making a Tool for Laravel Nova, upon having some composer issue's, I removed the vendor folder, ran composer install again but now I'm bumping into the following error....
Nova
1
27
schnettker schnettker
3

Hide Edit Button for some Items

I have a resource with a field "lock". If "lock" is set to be true then only admins should be change values. Is it possible to hide the Edit Butt...
Nova
3
86
rags02 rags02
5

Nova HasMany with hundreds of thousands of records

I'm having difficulty with HasMany in Nova when the relationship has hundreds of thousands of related records? I keep getting a 500 without an error, stack-tr...
Nova
5
97
ElectroBuddha ElectroBuddha
7

Row num instead of db ID ?

Hi, is it possible to somehow show row num instead of ID field on the resources index page? My admin users don't really need to see real database id for each row, and I als...
Nova
7
108
michael1986 michael1986
3

Make a relation count field sortable in Nova

Hi all, I'd like to know if it's possible to make a relation count field sortable in Nova. Number::make(__('Categories'), function () { return $th...
Nova
3
66
MiguelStevens MiguelStevens
0

Nova usage with Postman?

I'm trying to test the API routes of a Tool I'm building, when trying to do a PUT request using Nova, I'm getting the login screen as a result. Any idea if I can get passed...
Nova
0
29
emotality emotality
4

Nova saves file as .bin file

I'm having the exact same issue as this person on GitHub, but with a...
Nova
4
98
unlikenesses unlikenesses
2

Get query string from card

I want to create a button which will download a CSV of the current resource from its index page. To do this I have created a card, with a button in it, and added this card...
Nova
2
72
Torpedo Torpedo
4

Nova Metrics simple count doesn't work

If i count my User::class model, the metrics work, but when i change it to an other model it shows " 0 No Data " the model exists an i do import it....
Nova
4
123
stezani94 stezani94
3

Collapsable Sidebar

Hi all, i'm working on a CRM for a customer. I have a problem with screen resolution of my customer and for big tables with a lot of columns that i can't hide in index he a...
Nova
3
82
eugenevdm eugenevdm
0

Laravel Lens Only Returning 25 Items and No Pagination Links are Visible

I have created a lens as below. May I add that the big difference between this one and the one on the example page is that mine does not have a Group By clause. The...
Nova
0
32

Laravel Nova - output forms on the front end?

I am building a system that uses Laravel Nova for managing resources. There are a couple of instances where I want non-admin users to be able to create resources. Th...
Nova
1
39
ehben ehben
1

Trix : more text formatting options ?

Hi, I'm using Trix for a Textarea but the available formatting buttons are limited : bold, italic, bullet points, etc. How can I add more of them? (like Headings, h1...
Nova
1
76
avasa avasa
0

Laravel Nova Filter Viewable By Admins Only

Hi All, I was wonder if there was a method to show certain Filters based on User roles? Example, suppose I have a is_admin flag on my User table....
Nova
0
35
devk devk
0

How to scope belongsTo field to only return a subset

Hi, I have a categories table with parent_id that refers to the same table. For reference, the relationship will only have 2 levels (parent and children...
Nova
0
38
MiguelStevens MiguelStevens
0

Using a select dropdown in custom tool?

I created a custom tool, all is working, but I'm stuck on how to use elements from Nova.. I have an empty vue file now, and I would like to put a select-box there. I...
Nova
0
34
schnettker schnettker
2

Nova produce "too much" queries

Hi there, i have a table "worker" and a table "group". In the table group i have a leader (worker_id) and in the worker table a group_id (both &q...
Nova
2
102
pedrambehroozi pedrambehroozi
2

Nova: How do I check whether the user is inside the admin panel?

I want to check whether the user is inside the panel or not. I can check the url to see if there's nova available but it's not reliable. Do you have any ideas?...
Nova
2
50
Create a New Discussion Button