philipbaginski philipbaginski
6

Calculate age based on date - Laravel Nova

Hi! It the table Stewards I have 'dob' column where are stored birthdays dates. I would like to calculate age from birthday. I tried to use in Steward model: public...
Nova
6
58
atmaboy atmaboy
9

Class name must be a valid object or a string error

Laravel Version: 6.9.0 Nova Version: 2.9.2 PHP Version: 7.3.10 After update nova to latest version error on /vendor/laravel/nova/src/Nova.php224 return...
Nova
9
282
alev alev
3

show field from different table on an index

I have a table websites with the columns id domain And I have a table posts with a 'HasOne' relationship t...
Nova
3
26
Gizburdt Gizburdt
1

Searching resource on custom attribute (accessor)

Hi! I have this Nova application, where we have a contact. A contact has a first_name and last_name, and a custom attribute (accessor) called "name". Is it...
Nova
1
23
angauber angauber
1

How to watch for nova 'reset filters' event on custom filter ?

Hello I am currently building a nova custom Filter but I am stuck with an issue. I cannot figure out how does the global RESET FILTERS button works....
Nova
1
55
lorenzoberti lorenzoberti
7

Use ONE form for 2 resources

I'm new on Laravel Nova. I'm trying to build a User form. In this moment I have these models: User, UserDetail In User I have: email, password, username. In UserDeta...
Nova
7
1524
cherrycoding cherrycoding
1

Form Builder with drag and drop for Nova

Hi Guys, I am new to Nova and would like to try it in my current project.... Here I have many dynamic forms and at the moment I am importing them from a CSV. So is there an...
Nova
1
49
AlexGodbehere79 AlexGodbehere79
4

Laravel nova 404 error

I have a resource called Professions where I've recently changed the column ID to profession_id because in the future I'll need a hasMany relationship. Model:...
Nova
4
50
dlopezdelgado dlopezdelgado
1

Integrating Nova fields into a custom tool

Hi there, I'm wondering if there's a way to integrate Nova fields into a custom tool. I created a custom Tool in order to make a different form than the one in the resource...
Nova
1
44

Nova, getting error "This image could not be found" when uploading a photo

Hi, I'm getting this error ("This image could not be found") inside Nova, when i upload a Profile Photo with Image:: Upload works fine when using File::...
Nova
2
257

DisplayUsing() not working with integers

Hi, This stopped working after i changed the datatype to integer in my database. Why is that? BelongsTo::make('Radio', 'gearratio', 'App\Nova\Gearrati...
Nova
2
282
madison.bryan madison.bryan
3

Nova Custom Layout

Nova came out as we were starting to build out a new management interface for both our backend administration, and our partner frontend administration. Our original goal is...
Nova
3
145
twoarmtom twoarmtom
1

Viewing Files in Nova instead of downloading them

I'm currently using Nova in a project where I want to be able to view a file (PDF) in the browser instead of the default download link when I'm viewing the resource. If I...
Nova
1
69
bahamagician bahamagician
8

BelongsToMany Fields on Creation/Update Screen

I can't get my BelongsToMany nor HasMany relationship fields to show on the Create/Edit screen. They show on the Detail view but nowhere else. I thought that might...
Nova
8
344
bathishig bathishig
1

How to use pusher in nova tool

How can I use broadcast pusher in nova tool. in tool I in created method: Echo.private("newOrderRegistered").listen("NewOrderRegistered", e => { cons...
Nova
1
43
MehmetUygun MehmetUygun
1

How can we register any vue plugin globally in Nova?

How can we register any vue plugin globally in Nova? Normally we do like below; import vmodal from 'vue-js-modal' Vue.use(vmodal)...
Nova
1
48
reza01 reza01
1

nova polymorphic relationship, make things work

i try to setup a polymorphic relationship for my nova application as follow: i have company , profile and addressBook table that both the company and profile need to use th...
Nova
1
301
notomato notomato
0

Nova MorphMany Relationship

Hi Everybody I have a polymorphic relationship that an address can belong to a user or an organization. I keep getting the error 'Call to undefined method App\HTTP\R...
Nova
0
57
MehmetUygun MehmetUygun
4

How can I import any vuejs plugins into Nova?

This is an example for normal app npm install --save vue-js-modal import vmodal from 'vue-js-modal' Vue.use(vmodal) How can I do this for N...
Nova
4
119
abkrim abkrim
4

Testing Nova

I like test my dashboard app made with nova. I'm looking form examples in internet, but only see a example for use Spatie\Permission but I don't need th...
Nova
4
151
abkrim abkrim
4

Nova indexQuery in relationships of relationship

I've 3 models User has a hasmany relation (domains()) with Domain and this hasMany relation (mailboxes) with Mailbox...
Nova
4
133
sjess sjess
1

LARAVEL NOVA: Add cards to custom tool

Hi there, is there an easy way to add cards to a custom tool? I was thinking about adding a Fake-Resource to the tool, so I can add cards ... and this will ce...
Nova
1
145
dgoetz dgoetz
11

How do I use Nova components in a custom tool or card?

I'm currently working on a Laravel Nova application in which I need to add a lot of custom tools and cards. I'd like to keep consistency across the whole application, so it...
Nova
11
296
christopher christopher
1

nova-permission - hide role & permission menu for non-admin

hey party people - I am using the nova-permission package => https://gi...
Nova
1
74
AntLusher AntLusher
0

Nova fields - dynamic css classes

Hello all - how would you all add a css class to a wrapping element of a field... I have the following, and I hate it. Suggestions? Text::make('Reg Stage', 'registra...
Nova
0
59
abkrim abkrim
5

PasswordConfirmation with translations not work validation

My app uses translations. I use latest laravel nova 2.X and laravel 6.X When try use translations, validations not check if user confirm password or if this i...
Nova
5
137
PaulMarshall PaulMarshall
3

Custom Field Caching

I've created a custom field for Nova, all fine, made some updates and pushed to the server but it's still loading the old JS file. I've used version() in the mix fil...
Nova
3
126
Jurer Jurer
0

Broadcast an Event and remove item from Resource index

I have a list of "Abandoned Orders" listed as a Nova Resource. Orders are coming in via webhook using API endpoint in Laravel. What I would like to do is t...
Nova
0
51
gignux gignux
1

Nova resource index

I have some problem with nova resource. I create a Commissioni resource and model is: protected $connection = 'inote'; protected $table = "inote...
Nova
1
84
devhackeronebsa devhackeronebsa
2
Nova
2
138
philipbaginski philipbaginski
4

Relationship problem.

Huston! I have got a problem :-) I have a match model and would like to attach bet model to the match. I created bets table with match_id column, and matches table....
Nova
4
169
ddammo55 ddammo55
2

Where should I change name

How to rename resources How to rename Dashboard Please ask which file defines how...
Nova
2
100
MiguelStevens MiguelStevens
1

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
1
164
opilo opilo
4

Nova custom tools

I created a custom tool in Nova and I noticed Laravel is using the tool package from the composer vendor directory and not the nova-components directory. My question is wh...
Nova
4
286
Create a New Discussion Button