2,715
questions
0
votes
0
answers
7
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
26
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
43
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
23
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 ==...
-1
votes
0
answers
34
views
Pagination, per page and sorting doesn't work in filament table
I added Filament package to an existing project, and on this page with the filament table I see all the data, but when I click on pagination or sorting nothing happens. In console I see errors:
My ...
0
votes
0
answers
9
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
31
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
45
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
36
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
16
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
61
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
30
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
53
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
0
answers
17
views
Wire:poll never called and JS errro : ReferenceError: Livewire is not defined
Hell all,
When I try to use Livewire.on on my blade file, I got :
I got ReferenceError: Livewire is not defined in my JS chrome console.
I use Laravel Framework 11.25.0
And Livewire v3.5.6
I have ...
0
votes
1
answer
39
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
20
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
23
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
34
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
42
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
50
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=&...
0
votes
2
answers
56
views
Livewire wired checkbox has wrong checked state with nested values
When nested boolean property values (e.g. nested.value) of a Livewire component change, checkboxes do not change their checked state.
Here is a wirebox with the scenario: https://wirebox.app/b/x58lv
...
0
votes
1
answer
40
views
Load livewire component on timeout
Needs to load livewire component on timeout
Here is my livewire call code:
<livewire:data-list data="{{$id}}"/>
But i want to load this component after some time like seconds...
Here ...
0
votes
1
answer
22
views
Explanation on how livewire updates components and re-renders content in views
I have a livewire component thet loads a dynamic component based on a $step variable. The idea is to load one of three components based on the value of the variable. The variable is updated when the ...
-2
votes
2
answers
83
views
Opening a modal in livewire - laravel
I am designing a login form. when the user clicks on login button a modal should popup.
I have used livewire emitsTo event.
<button wire:click="$emitTo('login','loginModalOpen')" class=&...
0
votes
0
answers
36
views
End-to-End Payload Encryption in Laravel Livewire
Livewire Version: 3.5.12
I’d like to share and discuss an approach for adding end-to-end payload encryption on top of HTTPS for a Laravel 11 application using Livewire v3. This setup adds an ...
1
vote
1
answer
69
views
How to implementing Modal with Edit Record Resource Filament
How can I modify the EditRecord code in my EditPermohonan class so that when the "Save" button is clicked, a modal appears to confirm the changes before actually saving? I want the modal to ...
1
vote
2
answers
53
views
How to manually refresh in Livewire
In the function "add" at some point it throws and event to the component "shopping-cart". In the "shopping-cart" component, i want to refresh the component manually when ...
0
votes
1
answer
47
views
How to pass data from layout to component in livewire v3
How can I pass data from layout to component in livewire?
I want to pass data from layout to $slot.
My layout is:
<!DOCTYPE html>
<html>
<head>
<!-- Scripts -->
@vite(['...
1
vote
1
answer
24
views
CKEditor Not Displaying in Modal with Livewire
I am working on a survey builder where I let the user add different questions based on the field they select. For the question field, I want to use CKEditor.
<div>
@if($isOpen)
<div class=...
0
votes
1
answer
69
views
Tenancy for Laravel and Filament FileUpload
I use Tenancy for Laravel (v3) and Filament (v3) to create a multi-tenancy application. I have a decent amount of applications working well using different domains for the various applications. ...
1
vote
2
answers
63
views
Laravel fail to correctly generate URLs for static resources (Livewire 3, and others)
I’m encountering an issue with Laravel and Livewire when deploying my application on an Apache server. The problem arises when the application is hosted in a subfolder (e.g., domain.com/folder_app). ...
0
votes
0
answers
25
views
Livewire/Alpine v3 debounce on x-modelable not working
I am trying to debounce the changes in my tiptap editor, via the x-modelable attribute. The plain inputs debounce as expected, while the x-modelable ones do not.
Entangle Version
<div x-data="{...
0
votes
1
answer
28
views
wire:model value not accessible during x-init for x-modelable properties
I have the following component
<div>
<div
x-data="{ value: 0 }"
x-modelable="value"
wire:model.live="counter"
x-init="...
0
votes
0
answers
34
views
How to prevent BIN attack on a Laravel v11 Livewire-based checkout system?
I am currently facing a BIN attack on the checkout page of my web application, which is built using Laravel and Livewire. Fraudulent users (or bots) are attempting to perform card testing by using a ...
1
vote
1
answer
168
views
Laravel Filament V3 causes Action components on ViewResource to be disabled on polling
As the title suggests I have an application that receives a huge amount of data that gets updated aproximately 3-5 times every second for each record in the database. It is required that my ...
0
votes
0
answers
40
views
Livewire encountered corrupt data when trying to hydrate
I can't figure out why I keep getting this error of Livewire:
Livewire encountered corrupt data when trying to hydrate the [database-list] component.
Ensure that the [name, id, data] of the Livewire ...
0
votes
1
answer
33
views
Deleting Item in Livewire Modal shows 404 not found pop up
I am using livewire modal from this repo: https://github.com/wire-elements/modal
So, I create an edit modal where it can also delete the item. Here is the modal look like
There are delete button. ...
0
votes
1
answer
29
views
Setting Livewire V3 property using Alpine $wire | x-on:click="$wire.title = 'title'"
I have been using Livewire v3 for a while and often use...
<button x-on:click="$wire.set('title', 'A New Title')">
... to set Livewire properties directly from Alpine. This all works ...
0
votes
0
answers
65
views
Filament filters not updating data with Sushi model
I have a filament app with a resource which is loading data from an API using Sushi
This is the resource:
class PersonResource extends Resource
{
protected static ?string $model = Person::class;
...
0
votes
1
answer
54
views
laravel livewire 3 | component not auto re-render after perform any action
commerce app in laravel livewire3, cart component data not updating after perform any action like updateQty, removeItem etc.
I want to auto update cart itmes values after perform any action.
Cart.php
...
0
votes
2
answers
64
views
The server returned a "405 Method Not Allowed" after succesful payment
this is the URL defined to return after successful payment:
"returnURL" => 'https://wearlarimo.com/success/' . $this->order->id
and this is the route to get the Success page of ...
0
votes
1
answer
101
views
how to make Content Security Policy allow the livewire.js
This my error
I'm still a beginner in creating Laravel Livewire applications, how to make CSP allow livewire.js
When I don't use Content Security Policy Livewire runs fine, after I use Content ...
0
votes
0
answers
37
views
Laravel-Livewire-3 event listening not working
Hi i am using event listening for add to cart functionality, my aim is to create general addToCart() method and then can call by whole application.
product-box.blade.php
<div wire:click="...
0
votes
0
answers
20
views
Why dispatching event from volt component is not catched in other component?
In laravel 11 / livewire 3.5 / mary-ui 1.40.3 app I need to catch time when user logged into the system
so I modified resources/views/livewire/pages/auth/login.blade.php component and added event &...
0
votes
2
answers
90
views
Livewire radio buttons value gets overwritten? (with testable demo)
When i have a mini multistep form the radio button value of step 2 is overwriting the value of step 1. See code below.
The component
<?php
// app/Livewire/Counter.php
namespace App\Livewire;
use ...
1
vote
1
answer
85
views
How to Update Textarea Values in Filament Component with JavaScript?
I want to update the value of textarea with JavaScript but when i submit the words i can only get data that users typed directly inside textarea and not changes by JavaScript
what should i do?
here is ...
0
votes
1
answer
131
views
Filament widgets grid and stats overview
I'm using filament dashboard and i'm trying to use some stats overview widgets. the problem is the styling as you can see. I created a custom dashboard page to put this global filter and i gave the ...
0
votes
1
answer
44
views
Why `expandable` block in table definition of mary ui is broken?
In laravel 11 / livewire 3.5 I use mary-ui ^1.40.3 app
and I try to use table row-expansion functionality from manuals
https://mary-ui.com/docs/components/table#row-expansion
I currencies table I ...
0
votes
1
answer
39
views
Laravel Broadcasting not firing on the Job Queue
I am creating a AI ChatBot. The message is entered on the frontend (Livewire) and then stored in the database. A model "created" listener then pushes a job onto the queue which asks the AI (...