Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
36 views

My application uses Laravel Livewire with Alpine.js/SortableJS for drag-and-drop reordering of tasks between status columns. The tasks have a status (string) and a position (integer) in the database. ...
Christina Browne's user avatar
-1 votes
1 answer
156 views

In screenshot below i have a set of data insertion which contains each parent might have o to 6 children : when i try to get data in my livewire blade (the part facing issue) like below: <div ...
moh89's user avatar
  • 82
0 votes
0 answers
105 views

In the web app, it looks good since onSuccess gets called, but the only console log from the service worker I get is the one from initializing it. Somehow, it looks like listening for the periodicsync ...
Simon Ferndriger's user avatar
1 vote
0 answers
90 views

I have some links on my site which currently uses alpine.js to trigger a function that scrolls to a div on the page and I wish to convert this to use Datastar.js This is what is currently in the base....
Kevin Spoors's user avatar
0 votes
1 answer
86 views

I need to make loader while click on date. Then loader should work on timeslot before loading the slot Below shows short code Dateslot class Class Dateslot extends component { Public function ...
Muhammed Fayaz's user avatar
1 vote
1 answer
81 views

update: the answer is use $data and its actually in the alpinejs docs page I'm new to Alpine.js. Below code works fine, but I'm trying to find a way to refer to the whole x-data object in the line --&...
enwee's user avatar
  • 13
1 vote
0 answers
98 views

I am using AlpineJS with Templ and golang in Visual Studio Code. How can I get format document (Ctrl+Shift+i) to work for the x-data, x-init, etc attributes to work in Visual Studio Code? I currently ...
Taylor Ramirez's user avatar
1 vote
0 answers
88 views

I have logic for like/dislike button in two separate livewire components (LikeButton.php/DislikeButton.php) The problem is I want like/dislike buttons react immediately after clicking After clicking I ...
Dmytro Shved's user avatar
0 votes
1 answer
127 views

I’m trying to build a self-contained example of an e-commerce “Product Search” layout where: On mobile (width < 768px) – the filter sidebar is hidden by default, slides in from the left over a ...
Carol.Kar's user avatar
  • 5,261
1 vote
1 answer
95 views

I'm showing a toast alert, controlling visibility with alpinejs, and want the alert to dim after a couple of seconds and be hidden after some more seconds unless the mouse hovers over it. I got the ...
squarespiral's user avatar
0 votes
0 answers
134 views

Livewire version v3.6.2 Laravel version v11.44.2 PHP version PHP 8.3 What is the problem? I have nested livewire components in the following way (I am not sure if this information is relevant) ...
HeytalePazguato's user avatar
0 votes
0 answers
147 views

I have a Laravel 10, Livewire 3, Alpine JS application. On one of the blade files, I use the alpine x-for to loop through and add an input for each entry. I need to validate each input on change. I'm ...
cole's user avatar
  • 1
0 votes
0 answers
33 views

I’m facing an issue where dynamic formsets (for event dates and times) on the frontend are not saving correctly. The form is properly rendered, and new event dates and times are added dynamically ...
Muhammad Aslan's user avatar
0 votes
0 answers
47 views

I have created a recursive category display using Livewire 3.x and AlpineJS 3.x The categories are stored in the database. Everything is working except for the activeDropdown function. When I open a ...
Fzol's user avatar
  • 21
0 votes
0 answers
92 views

Focus management in Alpine.js modal doesn't properly redirect screen readers between steps The Problem In my TALL (+Fillament) stack app, I have a multi-step modal dialog using Alpine.js and Filament ...
Micah's user avatar
  • 767
0 votes
0 answers
60 views

I have a problem when passing form value to livewire component while the form is inside alpinejs. When I click the submit button, the only thing happening is page reloaded and the collapse closed When ...
raksaraf's user avatar
1 vote
1 answer
153 views

How can I use Alpine.js to automatically trim text in an input or textarea?
lonix's user avatar
  • 22.4k
0 votes
0 answers
42 views

For some reason the list is not updating. Any ideas why? The function is called and the entry is removed properly. But it keeps on showing the old list along with the removed entry. (I have not ...
burf's user avatar
  • 398
-2 votes
1 answer
67 views

im having this issue with my laravel-filamentphp code My login form is disabled... when i enter my credentials and press the login button i get the above errors in the console... Please help me to ...
Holger Parrales's user avatar
0 votes
1 answer
86 views

I have this views/Home.html: <div x-data="cards"> <h2>Bienvenue sur SwiftDeli !</h2> <p> Commencez à créer et partager des recettes, ingrédients et listes de ...
mopmop's user avatar
  • 41
0 votes
2 answers
290 views

I'm encountering an issue where Livewire's wire:click method doesn't work inside an Alpine.js x-data directive. Here's a breakdown of my setup: Inside routes/web.php, Route::get('/product/{slug}', [...
Garfield's user avatar
0 votes
0 answers
103 views

I have implemented echart line and bar charts for my laravel project. I am using livewire with alpine js to show the chart. Chart shows up with the data I am passing but there is few problems. The ...
Asok's user avatar
  • 1
1 vote
1 answer
158 views

Can I use Alpine.js to set a variable within x-data and bind my animation effects based on the swipe direction? Currently, it doesn't work when I try to do it this way. :x-transition:leave-end=&...
石佳弘's user avatar
1 vote
1 answer
180 views

I can't seem to bind the Alpine click event when I dynamically render content in Astro.js. This is an example of that : <div class="grid grid-cols-1 min-[450px]:grid-cols-2 md:grid-cols-4 xl:...
Dijana's user avatar
  • 11
0 votes
2 answers
85 views

I'm trying to load external scripts dynamically with HTMX, but the libraries don't work on the newly loaded page. Can anyone provide a simpler solution than the one in my answer in the answer section?...
Rinshan Kolayil's user avatar

1
2 3 4 5
23