2,714 questions
0
votes
1
answer
19
views
Broken Links in Laravel on Windows: Issues with Storage, Livewire, and IPv6 Links
I am encountering several issues with Laravel's handling of links when using Windows as the operating system. Here are the problems I've identified:
Broken Links in Laravel Paqueterías:
Many Laravel ...
1
vote
0
answers
16
views
Unable to call component method. Public method [mountInfolistAction] not found on component filament
I am developing a Laravel application using Filament. I have a custom Infolist in a PmoResource where I want to add a custom action to create milestones. The action is supposed to open a slide-over ...
0
votes
0
answers
7
views
Laravel Livewire with dockling libraries such as golden-layout
when using Livewire I have not yet found a way to use docking libraries such as Golden-Layout
The main problem is that I cannot move a Livewire component inside the layout or render it dynamically ...
0
votes
0
answers
29
views
Laravel+FilamentPHP+Livewire on custom field, what goes where to handle 'state'?
I'm trying to figure out the layering withing Laravel using FilamentPHP and livewire components.
I need to have a clickable google maps for a Custom Field in filament php and I'm told that the best ...
0
votes
0
answers
14
views
async loading with laravel+vite+alpinejs? (filamentphp custom field)
I'm trying to create a google maps class to use in a location clicker on laravel with filamentphp that uses alpine.js in conjunction with livewire. Near as I can tell, I'm having problems with vite ...
0
votes
0
answers
14
views
Laravel Jetstream: Does not update custom additional profile information
I customized the app\Actions\Fortify\UpdateUserProfileInformation.php file with new fields.
There is a ZIP code search performed with JQuery, but when there is a change of address, the new data is not ...
0
votes
0
answers
11
views
Weird Scrolling Behavior on mobile web
I have created a page where I have different section with different height. each section will appear and disappear with slide in and slide out. when they does not appear, they are hidden. on pc web ...
1
vote
1
answer
37
views
Livewire Search doesn't work correctly - always returns the same result
I'm facing an issue using Livewire and Laravel. I'm trying to implement search functionality for products on a page, but typing into the search bar always returns the same result, even if the search ...
1
vote
0
answers
45
views
Problem with Livewire and HTTP POST request in a Livewire component (GET method not supported for POST route)
I’m facing an issue when trying to send data via a Livewire component using a POST request to a specific Laravel route.
Here’s the context:
I want to send data to the route meeting.create via a POST ...
0
votes
1
answer
30
views
Livewire search does not work, I get an error "Uncaught Snapshot missing on Livewire component with id: GNJ2OeHRPh4jt67U30uG"
I have such a component
<div class="right-board">
<div class="caption-h-btn mobile-wrap">
<h1>@lang('app.My ad')</h1>
<div class=&...
0
votes
0
answers
57
views
"The avatar must be an image" when trying to upload an image (.png)
I am trying to update a user's avatar, however I keep getting the error "The Avatar must be an image". But the update function on other part of the profile works like name email, etc..
I am ...
0
votes
0
answers
15
views
Media Custom Field Building
I want to implement the following functionality: the user enters a URL from an external platform (e.g. YouTube) into a text field. On the blur event, I want to load the corresponding video inside an ...
0
votes
2
answers
41
views
Handle livewire events in both PHP and JS
I have this component called beat-player, on the PHP code I receive a dispatched event from another component and it works:
<?php
namespace App\Livewire;
use Livewire\Component;
use Livewire\...
0
votes
0
answers
14
views
SlimSelect input search in wire-element modal doesn't work
I am using SlimSelect (https://github.com/brianvoe/slim-select) in wire-element modal (https://github.com/wire-elements/modal).
but after opening SlimSelect, I can't click or type in the search box.
I ...
0
votes
1
answer
43
views
Laravel Broadcasting Events from Queue Job Not Triggering Filament Livewire Listener
I'm working on a Laravel/Filament application where I need to broadcast events from a queued job to update a Filament RelationManager's state.
Setup
I have a queued job that generates an analysis for ...
0
votes
0
answers
35
views
Can't access to my model User from Laravel Breeze user with Livewire 3 or Alpine
I am using Laravel 11 (With laravel Breeze) and Livewire 3.
I have a livewire component to edit users. This component shows a Edit/Show page with the possibility of modify your user. The problem here ...
0
votes
1
answer
34
views
Unable to trigger Livewire model value update inside Laravel component
I have a Laravel component for a date range picker. The problem is that when I select the date range, the Livewire model cannot seem to register it, and it does not update the model value. I don't ...
0
votes
1
answer
25
views
A livewire component called from a button stop working on a second click
I am trying to make a component to show a userProfile with "Show mode" and "Edit Mode". Initially you enter in "Show Mode" and see -Edit- and -Back- buttons. If you click ...
0
votes
1
answer
23
views
Laravel / livewire dispatched event not triggering
Yet another post for an event not working, but have read through the docs and cannot make sense as I'm right now just trying to replicate the basic example.
I have 3 components:
Parent: Beat-create
it ...
1
vote
0
answers
24
views
wire:snapshot with html instead json in livewire
I'm having problems with a livewire component. There is html in the wire:snapshot attribute it is supposed to contain just json:
<ul wire:snapshot="{"data":{"...
-1
votes
0
answers
15
views
auth()->check() and user() from jetstream livewire shows as undefined
I've installed Laravel v11 and Jetstream with Livewire, I tried to create a middleware to manage user roles and both user() and check() show as undefined
Here is the code:
<?php
namespace App\Http\...
0
votes
0
answers
71
views
Filament login not working in staging/production
Filament login not working in staging/production.
I'm setting up my site on a Linux staging server, but filament is not working as expected. Whenever I try to login, not only the password is not ...
0
votes
2
answers
90
views
how to do form submit on pressing enter and add new line on shift+enter in livewire
my blade file
<form class="new-chat-form border-gradient" wire:submit.prevent="sendMessage" enctype="multipart/form-data">
<textarea wire:model="...
0
votes
0
answers
27
views
Native javascript events triggered by wire:model update
I'm trying to run a client javascript function when a form element gets updated by wire:model changes on the client side. I know Livewire doesn't trigger a change event, but I've read that input and ...
0
votes
2
answers
36
views
Value doesn't change even though select is set to the model
I use select2 to style selects. But in livewire I faced a problem that when I change the value it doesn't change even though the select is set to model
<div class="select2-custom-field select2-...
0
votes
0
answers
25
views
Livewire DataTable: `$this->data` is cleared during `dehydrating`, causing table rows to disappear
Title
Livewire: $this->data is cleared during dehydrating, causing table rows to disappear
Body
I’m working with a modular Livewire component structure that involves a base component (BaseTable....
0
votes
0
answers
26
views
Issue with Select2 Resetting in Laravel Livewire on Input Change
I am using Laravel Livewire in my project and have integrated the Select2 library to enhance the dropdown functionality with a search feature. However, I am encountering an issue where any interaction,...
1
vote
1
answer
144
views
JavaScript Not Working After Livewire Navigation but Works on Full Page Reload - Laravel
I am using Laravel Livewire for navigation within my application. My default layout includes the following scripts:
<div class="flex grow">
<x-layouts.sidebar />
&...
0
votes
0
answers
37
views
How do i correctly pass an array of data into a "a show/hide" dropdown in blade template?
I am trying to populate an FAQs section with a UI that hides and shows the answers depending on when the user clicks to view the answer, but for some reasons the answers still shows without clicking ...
0
votes
1
answer
63
views
Can't refresh a Livewire component after wire:click button
I can't seem to get my LikeCounter livewire component to be able to refresh after i clicked a button that triggers a wire:click event.
My LikeCounter Livewire component:
class LikeCounter extends ...
0
votes
0
answers
58
views
I got livewire/update 404 (Not Found) when I switch database in the Livewire controller
The laravel app that I'm working on needs to have a dedicated database for each user (better for debugging and managing).
So basically, the user login on the database specified (DB_DATABASE) in the ....
0
votes
1
answer
54
views
AlpineJs 3 and Charts.js (4.4.6) gives Uncaught RangeError: Maximum call stack size exceeded when calling Chart.update()
I'm tring to update my chart with new data. But whenever I call update functions I get error: Maximum call stack size exceeded.
<div x-data="chartComponent()" class="max-w-xl mx-...
0
votes
0
answers
10
views
How to make an expanding card in a grid just affect the layout of it's own column and not all [duplicate]
Using CSS Grid, I have a 2x grid of cards that are expandable. My problem is when one expands, it pushes all cards beneath it down in both columns. What I'm wanting is the cards beneath it in the same ...
1
vote
0
answers
50
views
Laravel 11: Livewire not updating calendar and modal properly
I am using Laravel 11 and created a livewire InvoiceDetail from detail blade which is accessible through /invooice/{id} route
It contains an individual Invoice id but shows list of all invoices for ...
-1
votes
1
answer
63
views
How to resolve "ambiguous column" error in Laravel Livewire PowerGrid filter with joined tables?
I'm using Laravel Livewire with PowerGrid v2.x and have a query that joins multiple tables to display transaction data. Both transactions and invoices tables contain a transaction_type column, which ...
0
votes
1
answer
26
views
Laravel Livewire: data is not updated
I have such a component. The payment button is not active until the user selects a payment option and method
return-ad.blade.php
@php use App\Models\UserLimit; @endphp
<div>
@if ($template ==...
0
votes
0
answers
24
views
livewire image upload problem on production
I'm facing an issue with image uploading and previewing using Livewire on both my local environment and my Hostinger-hosted site. When I try to upload images, the temporary URL for the preview (...
0
votes
0
answers
69
views
Undefined variable $component with Livewire (possibly related to blade @component not being processed)
Always undefined variable in $component, however not always in the /vendor/filament/notifications/resources/views/notifications.blade.php view (although lately has been). I understand this seems to be ...
1
vote
1
answer
58
views
Client error: 405 Method Not Allowed Integrating remita with Laravel and livewire
Please i need help, i don't know what i am doing wrong.
Accessing the API works through postman but not working in my laravel application.
//...........
Client error: `POST https://remitademo.net/...
0
votes
0
answers
41
views
How to get the value of a Livewire property immediately after an update?
hello In a Livewire component, I'm going to use the Flowbite tab component by JavaScript code. My problem is that the $requestStandard variable is updated by Livewire and a new tab is created on the ...
0
votes
0
answers
39
views
Using nested volt components not working in Livewire
I'm doing an administrative page for users. The page loads User::all() and displays it. No big deal. Now I to create a filter for name or email that matches certain criteria. So my I have a loadData() ...
0
votes
1
answer
157
views
How to consume data from 3rd party API the Laravel 11 way
I'm working on project and it requires a location field with custom implementation of Google Maps autocomplete. I need it to only return [City, State] (eg. Cleveland, Ohio) or [Neighborhood, City, ...
0
votes
1
answer
45
views
Filament FileUpload maxSize is ignored
i have livewire component where i have this filament form
class Categories extends Component implements HasForms, HasTable
{
use InteractsWithForms;
use InteractsWithTable;
public $customFields;
...
0
votes
0
answers
121
views
I got livewire/update 404 (Not Found) in JS console when wire:poll is triggered (and the render function is not called)
I got :
livewire.js?id=38dc8241:4284 POST http://localhost:8000/livewire/update 404 (Not Found)
Everytime the wire:poll is triggered.
(and the render function is not called, except for the first ...
0
votes
1
answer
100
views
Buttons not showing in Livewire Powergrid [Alpine Expression Error: 'variable' is not defined]
I installed livewire-powergridin my project. So far everything works well except the header and action buttons.
I am getting an undefined where the button is supposed to be rendered.
Also. In my ...
1
vote
0
answers
24
views
Livewire2.6 need to swap tampates based on server event
I'm a beginner in Livewire, need to display one of the templates (the first with a Resend button if $waitTime <=0 and the second if $waitTime >0) according to server event updateWaitTime . In ...
0
votes
2
answers
34
views
Laravel Livewire - Lookup a table and return data
I have set up a very simple project as I want to pass livewire an id and it to return some data from a table with that ID.
My basic page includes
@livewire('ShowData',['id' => 4])
I have a ...
0
votes
1
answer
69
views
Laravel Livewire 2 pagination breaks Alpine
I'd be happy to post some or all of my code, but for starters, here is the upshot. I have a Livewire view with Livewire components that are paginated. These items may also be filtered. However, any ...
1
vote
0
answers
57
views
How customize Repeater's item using Livewire component?
Livewire 3x.
I have a Livewire component OpportunityQuote that has a Repeater in its structure, like this:
class OpportunityQuote extends Component implements HasForms
{
use InteractsWithForms, ...
1
vote
1
answer
54
views
Run livewire click method based on whether checkbox is checked or not
I'm new to livewire.
And I have Livewire component like below
<label for="active">Active:</label>
<input type="checkbox" id="active" wire:model.live=&...