laravel-nova Questions

3

As seen in the image below. When we select the record from the listing than action drop down appear. But I need to show it always, either user selects some record or not.
Malapropism asked 20/3, 2020 at 12:58

1

When deleting a Laravel Nova resource, the message "Are you sure you want to delete the selected resources" is displayed in a confirmation modal. How can I override this for a specific resource?
Freightage asked 9/12, 2018 at 19:31

2

Solved

I want to add custom validation for one field in laravel nova resource file. I have one field in db which is service_id in the service table and I have nova resource file for the same table. On cr...
Liverwort asked 19/3, 2019 at 16:59

3

Solved

Is it possible to use the built in Laravel Nova confirm dialogue in your own tool? All I would like to use is interact with it how Nova does itself. The docs are quite light on the JS topic, as th...
Amimia asked 22/2, 2019 at 9:32

10

Solved

In default the ordering of left menu items is in alphabetical order. My client wants to order those menus manually. Any idea how to make it possible? Go to answer
Formal asked 21/11, 2018 at 5:8

3

Solved

I need to show selected country in the Belongs To Fields is there any method in which i can pass the value and it would be selected by default.
Quarry asked 14/1, 2019 at 13:23

3

Solved

In Laravel, if I want to create a self-referential relationship I can do the following: class Post extends Eloquent { public function parent() { return $this->belongsTo('Post', 'parent_id');...
Yulma asked 3/12, 2018 at 14:15

10

Solved

I've installed Laravel Nova (using Laravel 5.6). App\Providers\NovaServiceProvider::class is registered in my config/app.php file. But when I go to https://localhost:1234/nova I get a 404 error. I...
Bula asked 24/8, 2018 at 13:5

1

I would like to make my text and custom fields sortable. But I haven't found a single page which explains me how this works. Either these: Text::make('Type', function () { return $this->produ...
Can asked 9/5, 2020 at 18:32

2

Solved

I need to redirect user after login to a different place according to its role. The logic is simple. I tried to put it in redirectPath() function in Nova LoginController.php, but I have a very weir...
Dome asked 23/1, 2019 at 20:16

6

Laravel 5.8 Nova 2.0 In nova action public function fields() { return []; } Is there any way to access currently selected rows here?
Alfieri asked 4/7, 2019 at 13:19

3

Solved

I'm using laravel-nova and on one resource I'm using the Image field: use Laravel\Nova\Fields\Image; Image::make('Top Image', 'hero_image') ->help('Upload an image to display as hero') ->...
Tonisha asked 4/7, 2019 at 13:21

2

Solved

What is the way to change the logo in Laravel Nova4? I have checked the document but I can not find the way.
Smalls asked 1/9, 2022 at 14:54

5

I have one table championships and one table users. Also I have same models (championship and user). In one championship may be one main judge, main secretary and judge operator. All of them also ...
Motorize asked 24/10, 2018 at 13:35

3

Let's say, I want to replace the nova/resources/js/components/Form/FieldWrapper.vue with a custom one (add some CSS classes or add additional HTML), how to do this, without making changes to the /n...
Williams asked 18/9, 2018 at 7:25

5

I would like to remove dashboard from my Laravel Nova app. I found it easy to remove it from sidebar-menu - simply comment /views/dashboard/navigation.blade.php code. However, I want to add a red...
Youthen asked 29/1, 2019 at 17:38

1

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 makes sense to simply us...
Warton asked 7/1, 2020 at 16:6

4

Solved

Is there an option in Laravel Nova to display an readable date-time output and/or limit the output? For example to : 29. October 2018 / 11. November 2018, 12:10 am Code: DateTime::make('Star...
Extravagancy asked 30/10, 2018 at 8:47

3

Solved

I have added Laravel Nova to our application and purchased a license. On the local server everything works perfectly. However, when I try to deploy the updated application to our linux server and r...
Kings asked 20/8, 2021 at 10:13

5

Is there a way to display the first 25 chars of a Laravel\Nova\Fields\Textarea on the index of a Resource?
Rashidarashidi asked 4/11, 2018 at 21:51

1

Solved

Since Nova 4 has no blades anymore that you could publish, how could you approach customization the best in for example the head navbar next to the searchbar? I'd like to add a drop-down there but ...
Luciano asked 9/5, 2022 at 20:43

2

Solved

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 UserDetail I have: Name, Lastname, Gend...
Praxis asked 26/7, 2019 at 9:56

8

Solved

Within Laravel Nova (v1.0.3), there are several methods that grant fine-grained control of the visibility of a resource field (canSee, showOnDetail, etc.). I can't find any methods that control if ...
Cyclograph asked 22/8, 2018 at 21:20

3

Solved

How can i set a default value in Laravel Nova in a select field? Select::make('Car')->options([ 'mercedes' => 'Mercedes', 'audi' => 'Audi', 'bmw' => 'BMW', ]), https://nova.larav...
Uniformitarian asked 26/10, 2021 at 7:58

1

I want Laravel Nova to handle a DateTime field (stored in the database in UTC) in a custom timezone based on the Model and not in the User's timezone it does by default: https://nova.laravel.com/do...
Macrae asked 7/10, 2020 at 20:40

© 2022 - 2024 — McMap. All rights reserved.