Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [laravel-livewire]

Livewire is a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel.

laravel-livewire
0 votes
1 answer
29 views

Can i login using only pin in Auth::attempt

i tried this to login but it failed to login in system if (Auth::attempt(['mpin' => $otp])) { $check_otp->update(['otp' => '']); session()->put('is_login', true); session()-&...
MDSolanki's user avatar
0 votes
1 answer
28 views

Livewire: set property to collection?

In my component I have @foreach ($foodItems as $i) <div wire:click="setSelectedFood({{ $i }})" class="flex items-center space-x-4 rtl:space-x-reverse bg-gray-100 rounded hover:...
ashdoestech's user avatar
1 vote
0 answers
25 views

Why is the dispatch livewire 3 didnt emit the data

I have a problem where the dispatch didn't do anything. I'm using Livewire v3.5.2. So I have a form for updating the data in my database. The Livewire component to handle the form look like this ...
Sultan Zaki's user avatar
0 votes
1 answer
18 views

Tinymce and laravel when submit form the textarea turn back to normal textarea

when submit form in livewire the editor disappers and turn back to text area body <textarea class="form-control" wire:model='body' id="body">{{ old('body') }}</...
Ezz Eldin Ahmed's user avatar
0 votes
1 answer
24 views

Laravel Livewire rules with unique attribute

In my AddUser Livewire component, I have the following rule: #[Rule('required|max:50|unique:users,name')] public $name; Which of course does its job. But when I'm trying to update a user in the ...
Hardist's user avatar
  • 1,965
-1 votes
1 answer
22 views

Show progress animation for dynamic table data loading with Livewire

I'm using Livewire on a Laravel 11 app to dynamically load table contents. It all works well but I would like to display an indication or animation from the moment the user clicks the pagination link ...
Rui Alves's user avatar
  • 169
0 votes
1 answer
48 views

In Livewire 3, after updating a property in the component class, the input chechbox in the Blade view does not change

I have in the order form a input text field that is binding to the accountForm property. I also have a input checkbox, bound to isChecked, if it is marked, the user account is also updated when the ...
Marek Vinárčik's user avatar
0 votes
0 answers
14 views

Installation Issue with Laravel Jetstream Livewire on FreeBSD14

On a fresh install of a Laravel Project with Jetstream (with darkmode and teams options) and Livewire I'm getting this Error on dashboard after login. (registration and login are working fine.) ...
Borjan Mukaetov's user avatar
1 vote
1 answer
51 views

Correct email validations in PHP laravel Livewire

I want to validate emails correctly , the correct email must adhere to the following validation rules (a) email must end with either .com , .gov , got , co , .uk , etc (b)email must be unique public $...
philomath's user avatar
0 votes
1 answer
26 views

choicesjs with shared blade view

i have a post livewire component in which has 2 child: createpost and updatepost. both createpost and updatepost has the same blade view and hence they render the same view: return view('components....
DDD's user avatar
  • 13
0 votes
0 answers
27 views

Web Radio API constantly refreshing

I was trying to create a way via Laravel/Livewire to create some sort of Web Socket or otherwise continuous "communicate" with my API end-point. Basically I'm creating a Web Radio that ...
woweya's user avatar
  • 1
0 votes
1 answer
21 views

Search functionality is not working in Livewire Laravel

I don't understand why is it not working i neither see any errors nor any progress. Somebody please help what i am missing in my code. I already put @livewireStyles in head and @livewireScripts in ...
Salman Aslam's user avatar
0 votes
1 answer
20 views

Choices js with wire:model.live bespoke javascript

I'm currently using choices js for a searchable select but now, when i use it with live:model.live, after my result reload, the select changes to back to a normal select and can't be used as live ...
DDD's user avatar
  • 13
0 votes
0 answers
24 views

Select2 multiple when I press button remove select item my modal is closed ,but my modal shouldn't close

This is my code tgoMeanItem id is multiple select2 <div class="col-lg-12 mt-2"> <label for="date-field" class="form-label"> <strong class="...
Timur's user avatar
  • 107
-1 votes
0 answers
56 views

Livewire components or controllers

There are many questions like this, but none explain more than "use only Livewire components" or "use Livewire only for interactivity." Also, I cant find live code bases of real ...
Grruja's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
174