Skip to main content

All Questions

Tagged with
0 votes
1 answer
29 views

How to return blob in Joomla 5 API

I am writing a custom plugin API that should return PDF, I am using Joomla 5 but I see that it only supports JSON as a return via the View, not only that, but it also requires you to be working with ...
Ayoub El Moudni's user avatar
1 vote
0 answers
51 views

Passing html to livewire custom component and modify it

I have a class-based volt component that shows a button and when the button is clicked it opens a modal. So far so good. I would like to pass the button html when calling the component as a "slot&...
mps's user avatar
  • 471
2 votes
0 answers
57 views

I can't pass data to the component in Laravel

I'm trying to pass data to the components using directly to the Blade component (using @props). As a first step I put the following code in notification.blade.php: @props([ 'type' => 'info',...
ghost_of_the_code's user avatar
1 vote
1 answer
787 views

Getting "Undefined variable $slot" when trying to render blade component on Laravel with Livewire 3

Hello I made a new project to see why i'm having problems when rendering blade with livewire 3 components. I have my app.blade.php and my counter.blade.php with Counter livewire component. The ...
Ignacio's user avatar
  • 13
1 vote
1 answer
30 views

I have a text appearing above all my layout file (laravel)

Please I have a text appearing on top of my page before my layout files independent of the one I choose. When I view page source in chrome, it shows like this 0 <!DOCTYPE html> <html lang=&...
Life Gate Mission Hospital's user avatar
0 votes
1 answer
140 views

$slot undefined varaiable using livewire components with laravel 11

This is the code that I tried to create a login form with reusable components. I want to render the button component with an icon, but when I pass the slot, I get an error. App/livewire/Button.php @...
Oscar alvaro's user avatar
2 votes
1 answer
369 views

Delete self component with the button inside the component itself in Livewire 3

I am using livewire 3. I have a button inside a component and i want to delete the component with that button which is also inside the component. InvoiceRow component: <div class="col-md-1&...
Om WT's user avatar
  • 31
1 vote
3 answers
2k views

Use laravel blade components from different folder

For some reason, I put my Laravel blade components inside the App/Core/CoreComponents folder, so now I can't use these components like the old way: <x-Core.CoreComponents.input /> And after ...
khaled amoudi's user avatar
1 vote
1 answer
694 views

unexpected token "endif", expecting end of file blade component [duplicate]

I'm trying to dynamically change the classes depending on the route in laravel, however using this: <x-ui.general.dashboard_link href="/dashboard/calendar" @if ("hello" == "...
DeveloperLewis's user avatar
0 votes
1 answer
179 views

How can I pass an array variable in a Laravel component?

I want to pass array variable to my component. Here is my code: @php $breadcrumbs = [ [ 'name' => 'Trainees', 'link' => route('trainee.list') ] ]; @endphp @section('...
darshita_baldha's user avatar
1 vote
1 answer
959 views

In Livewire can I update a variable instead of writing to the database in a listener method when using $emitUp?

I've set up a modal for creating a new House. Within this modal is a section for editing Rooms. What I want to do is create a way for users to change details (name, description) of each of the rooms ...
Urbycoz's user avatar
  • 7,431
0 votes
1 answer
670 views

How can I pass parameters from nested components to parent with livewire?

I'm trying to create a system in livewire to allow users to add/edit houses, but also allow for adding/editing rooms within each house. I've created house and room models as well as createHouse and ...
Urbycoz's user avatar
  • 7,431
0 votes
1 answer
158 views

laravel component not displayed after replacing two other components

i am working on a laravel 10 project (following the laravel 8 from scratch in laracasts series ) where i render posts on the front page i created two components (manually by creating two files on the ...
Yuri Boyka's user avatar
1 vote
2 answers
913 views

Laravel class based components class being ignored

I have laravel component created in nested folders in app/view/components/modules/Exchange/common and i use this component like this in the code: <x-modules.Exchange.common.text-input placeholder=&...
Jood jindy's user avatar
2 votes
1 answer
944 views

Livewire pagination issue with multiple components on the same page

I'm facing an issue with Livewire pagination when using two components with pagination on the same page. I followed the Livewire documentation's suggestion for using multiple paginators. However, ...
Jens J. Kuipers's user avatar

15 30 50 per page
1
2 3 4 5
17