Skip to main content

All Questions

Tagged with
0 votes
0 answers
69 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 ...
Mohammed's user avatar
0 votes
0 answers
28 views

how to access custom field's data in the dependsOn() of other field in nova

CustomRepeatInterval::make('Repeat Every','custom_repeat_interval') ->dependsOn('repeat_interval', function (Field $field, NovaRequest $request, FormData $formData) { if ($formData->...
Rishav Sarkar's user avatar
0 votes
1 answer
62 views

DigitalCreative Conditional Container Error in Laravel Nova

I have created a custom field in laravel nova and wrapped it around a conditional container. When the toggle is set to true the custom field shows up but in this case in the console I get an error: ...
Mageto Denis's user avatar
1 vote
0 answers
324 views

Problem with dynamic dependency for custom field in Laravel Nova

I'm currently facing an issue with dynamic dependency in Laravel Nova, specifically related to the usage of a custom AutocompleteField. Let me explain in more detail. In my resource, I have two fields:...
Antoine's user avatar
  • 11
2 votes
0 answers
217 views

Migrating Custom Components from Vue2 to Vue3 in Laravel Nova: Issues with $watch Property Replacement

I'm currently upgrading a Laravel Nova project from Nova 3 (which uses Vue2) to Nova 4 (which uses Vue3). And for that reason, we had to do some modification in our custom components. Like, in Vue3 we ...
Mak_091's user avatar
  • 347
-1 votes
1 answer
440 views

Issue with rendering a component in Laravel Nova after updating dependencies

Hello Stack Overflow community! I'm facing an issue with rendering a component in Laravel Nova after updating dependencies in the project. When trying to open the component in Laravel Nova, I get an ...
Ilya Pelevin's user avatar
0 votes
1 answer
673 views

Vue template compile error, "Cannot read properties of undefined (reading '_c')"

I'm working on adding a custom tool to an existing Laravel application using Laravel Nova for the admin panel. The auto generated tool that is created with "php artisan nova:tool vendor/name"...
Koen Dekker's user avatar
1 vote
0 answers
218 views

In NOVA version 4, How to override the detail (single) view of a resource

In NOVA version 4, I have created a resource name "Orders". I want a custom design for single (detail) view of Order. Please anybody, help me how to override the default Detail.Vue. As ...
Amritdeep Kaur's user avatar
0 votes
1 answer
312 views

How do I get pagination working in laravel a Nova 4 custom tool

This is the tool.vue file <template> <LoadingView :loading="initialLoading"> <Heading :level="1" class="mb-3 flex items-center"> ...
user794846's user avatar
  • 1,931
0 votes
1 answer
474 views

Laravel Nova Vue passing extra data to FilePond upload

I have a file upload component that I am trying to pass in data with the image to the controller so I can create the photo object. Some of the data are things such as disk, like 'S3' so the controller ...
Ryan M's user avatar
  • 303
2 votes
0 answers
1k views

resolveComponent can only be used in render() or setup()

I'm using laravel nova 4 for creating an admin panel. I'm trying to override a existed nova component. This is what I have done: Create BelongsToField.vue in resources/js/nova/components/Form, then ...
simpsons3's user avatar
  • 1,011
1 vote
1 answer
1k views

How to preview image file after it is selected, and before uploading on Laravel Nova 4

I would like to know how to preview the image after it is selected, and before submitting the form on Laravel Nova 4? # App/Nova/Image.php /** * Get the fields displayed by the resource. * * @...
agm's user avatar
  • 405
1 vote
2 answers
930 views

Laravel Nova Card Options Missing Function

I was recently given a Laravel app that uses Nova and Vue in it - all three of which I've never worked with before, so apologies in advance if I ask something that should be obvious. Inside the app ...
Scott Salyer's user avatar
  • 2,475
1 vote
1 answer
1k views

Custom File field to capture image from webcam in Laravel nova

I am new to Laravel Nova and i want to upload an avatar either from computer or capture from webcamera. As for now i have created a conditional dependency select field to hide and show elements using ...
Орлов Владлен's user avatar
2 votes
0 answers
361 views

How to change markdown image size in Vue 3/Laravel Nova/CSS?

I am fetching markdown from a database: const state = reactive({ content: "" }) axios.get('/legal') .then(res => { const data = res.data ...
Artur Müller Romanov's user avatar

15 30 50 per page