laravel-nova Questions
5
Solved
I am developing a web admin panel using Laravel Nova.
I am having an issue since Nova is quite a new technology.
What I would like to do now is I would like to add a hidden field or extend or overr...
Jerid asked 18/9, 2018 at 15:3
7
Solved
How to disable edit/delete button on nova index page and still allow in detail page, if I will create a policy, that will disable the operation everywhere, I want to allow edit and delete in detail...
Sack asked 19/6, 2019 at 7:42
6
I would like to return a different result for a computed field when viewing the index view than when viewing the detail view of a resource.
Basically something like viewIs() below:
Text::make('Pr...
Plyler asked 10/12, 2018 at 10:17
1
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. The ideal solution would be to de...
Barela asked 24/2, 2019 at 12:34
2
Solved
I'd like to use the same loader as Laravel Nova uses when it's components are loading. I can't get it to compile. It never recognizes where to load the LoadingCard component from. Any help would be...
Ean asked 26/3, 2019 at 14:12
4
Solved
I have created a resource controller for an API endpoint. I have also created a corresponding policy for the model.
If I do a per method authorization check using
$this->authorize('delete', $a...
Perfidy asked 8/5, 2019 at 10:7
6
I am developing a web application using Laravel. I am using Nova for admin panel. What I am doing now is I am authorizing my resource using policies as mentioned in the documentation. But seems lik...
Manvell asked 31/10, 2018 at 18:10
3
I set up laravel Nova locally last night, tested it, used it, everything works great on my local machine.
Uploaded it to the server, and everything works great except when i head to /nova which ri...
Ertha asked 11/2, 2019 at 7:25
3
I have this resource called Distributor
ID::make()->sortable(),
Text::make('Name')
->creationRules('required'),
BelongsTo::make('Region')
->creationRules('required')
->searchable...
Algor asked 29/1, 2019 at 14:1
1
Solved
I need to point Nova path to a resouce. So that when a user login, he`ll directed to that particular resource.
I have updated this path in /config/nova.php:
'path' => '/crm/resources/clients' ...
Retake asked 16/11, 2018 at 11:36
1
In laravel Nova 2.0
To initiate a file download after the action is executed, you may use
the Action::download method. The download method accepts the URL of
the file to be downloaded as its f...
Castellano asked 3/7, 2019 at 18:36
3
Solved
There is a ->width() option for cards. How can the height be defined?
Tensive asked 23/10, 2018 at 4:33
1
I need to show a selected role of User in the Select Fields is there any method in which I can pass the value and it would be selected by default with the show Labels.
Elegize asked 30/4, 2020 at 8:33
3
Solved
Currently I'm trying to write feature tests for laravel nova that assert that the page is loaded correctly and data can be seen.
However when I write the tests I can't find a way to assert that th...
Schrimsher asked 1/10, 2018 at 12:12
1
Solved
I have a laravel nova app. Like other nova app on resource list it shows a checkbox before every rows. and a option of select all.
I want to remove those checkboxes from the resource list.
Tha...
Sherrilsherrill asked 12/3, 2020 at 7:47
0
I have created a new tool within Nova and I have to access my laravel api defined in /routes/api.php not the one in nova-components/component-name/routes/api.php
My code within the Vue component l...
Menton asked 10/1, 2020 at 12:38
0
As I know to reference a Nova Field you can use the $this object in the Fields Function.
So I have this code, my problem is that these values are empty and should not:
$this->origin_coordinates
...
Broadfaced asked 9/1, 2020 at 16:45
1
I have a custom resource-tool (ledger entry tool) that modifies values of a resource as well as insert additional rows into related resources.
"Account" is the main resources.
"AccountTransaction"...
Lurid asked 9/12, 2018 at 15:56
2
Solved
I'm trying to add localization support for a card built for the Laravel Nova dashboard.
I already created a folder in /resources/lang containing the JSON language files in a format like en.json. T...
Indoiranian asked 21/9, 2018 at 12:43
0
I have a laravel nova package where I define a custom vue component like this:
Nova.booting((Vue, router, store) => {
Vue.component('my-component', require('./components/MyComponent').default)...
Borstal asked 9/8, 2019 at 8:17
2
Solved
I'm trying to implement a card with a trend-metric in Laravel Nova. Is there any way to update the label of the card?
So in my case change "Participations Per Station" into something else.
Sojourn asked 9/5, 2019 at 9:59
2
I want to be able to access Laravel Nova from the root, i.e. from example.com and not example.com/nova.
I have tried changing the path setting in config/nova.php to '/'. Going to example.com then...
Dioptrics asked 30/11, 2018 at 11:8
1
Solved
Hi I'm using laravel nova for create an admin panel. And I'm trying to use Date Field.
This is my migration,
$table->date('day')->nullable();
This is my my nova resource,
public function...
Barcellona asked 12/3, 2019 at 9:11
1
I have a Nova Resource named "Partner" with fields menthod:
public function fields(Request $request)
{
return [
Text::make('Name*', 'name')->rules('required')->sortable()->onlyOnForms()...
Australorp asked 29/11, 2018 at 6:44
1
Solved
I have field last_active on users, I want display time with diffForHumans or time_from_now from Moment.js. How I can do it? Now I just use:
DateTime::make('Activiy', 'last_active')
->exceptOnF...
Majewski asked 19/1, 2019 at 8:30
© 2022 - 2025 — McMap. All rights reserved.