cyberkid007 cyberkid007
0
Hello guys, I am trying to mark a notification as read, when an anchor link is clicked using livewire. I have fetched all the notifications for a certain user and I have added an event listener and I tried to pass in a notification id to it. @foreach...
binggle binggle
4
hi.. I found Livewire Pagination reacts wrong with children's 'emit' event.. I have Two Livewire components. 'ParentComponent' embrace 'ChildComponent' . In ChildComponent I do something and trigger 'updated' event ' So ParentComponent grab the 'upd...
Lordbedwetter Lordbedwetter
11
I would be a liar if I said I wasn't overwhelmed by the changes that has come with Laravel 8 and the addition of Jetstream and Livewire. I am having a hard time wrapping my head around how this stack is supposed to work together. Specifically, at thi...
chaudigv chaudigv
1
I have a newsletter livewire component which accepts an email and do create/read operation. I would like to add a rate limit to this component. That is, allow users to submit the newsletter form 10 times per minute. I am able to achieve this by setti...
daugaard47 daugaard47
2
When I use wire:model="foo" on my select fields the disabled selected option doesn't show as first selected. Anyone now how to get a disabled selected placeholder to show first on select fields? This is my hacky workaround and it feels wron...
Neeraj1005 Neeraj1005
2
I don't know why a few days ago my project with livewire was working good...But now today suddenly it won't work. It return some error in console. create:893 Livewire: The published Livewire assets are out of date See: https://laravel-livewire.com/d...
MonsieurRado MonsieurRado
2
Hello, I have an issue with my Laravel website. It runs correctly when i use http:// but when i switch to https:// , the /user/profile page doesn't work. Everything works fine with http url. With https , in the console, i can see these errors: "...
fanisa fanisa
2
I have two traits with the same protected property $rules: WithAddressFields.php protected $rules = [ 'state.address' => ['required', 'string', 'max:255'], 'state.address2' => ['nullable', 'string', 'max:255'], ... ]; With...
fanisa replied
Solved
dipherent dipherent
1
Hi friends, I have a table in livewire, and I have two filters like this: By Location. - By Company. I can filter the table with each field separately, but what I want is to update the By Company filter based on the By Location selected... for exampl...
oliverbusk oliverbusk
0
Description I am trying to dynamically load a Livewire component inside a modal, using Livewire. I can successfully load the HTML content in the modal, but any Javascript on the "target" component is not executed. Exact steps to reproduce &...
dubbeltje dubbeltje
1
Hey, I have created a parent component and a few Child component. Everytime when i updated the child I emitUp to the parent. Howerver, now after i emitUp to the parent my child is also rerendered and set to empty. Effectively the text I just entered...
Is there a best practise for applying global query scopes from within a Livewirecomponent? Since there is no request going through the middleware enforcing the scope this gets ignored when accessing the paginated pages Normally all livewire requests...
alexteie alexteie
3
Hello, I have some checkboxen that i want to check in an array like [1,3,4,2] but when i uncheck a box ik get an diferent array back like [1,3,4,"1:1",4:4"] etc please help livewire component: <?php namespace LB\Cms\Livewire\Profil...
Hi devs, Having an issue with my Livewire component below is my use case @foreach(Cart::content() as $item) <tr wire:key="{{ dd($loop->index) }}"> @endforeach all the looped items return an index of 0, even if I do @foreach(Cart:...
I have created a Laravel component for radio (not livewire component) <!-- ui-radio --> <label class="inline-flex items-center"> <input type="radio" {{ $attributes->merge(['class' => 'rounded-full border-g...
ubaid replied
Solved
oliverbusk oliverbusk
2
Hi there I am trying to get Turbolink to work together with Livewire, but with little luck. For some reason, when using either livewire:load or turbolinks:load as my event listener, the javascript is fired off multiple times if a user visits the page...
binggle binggle
0
hi I want to run alpinejs function from livewire component. in posts component, function gotcomment(){ $this->emit('gotcomment'); } in posts view <div wire:click="gotcomment"> I will get post </div> in blade. <...
IvanRadojevic IvanRadojevic
2
Has anyone tried to use this package. Only the frontend example is presented in the docs. There is no example of what a Livewire class should look like. https://github.com/livewire/sortable...
Steady-Entertainment Steady-Entertainment
3
I do not want to repost it :) https://forum.laravel-livewire.com/t/unsolved-bug-this-driver-does-not-support-creating-temporary-urls/2556...
vincent15000 vincent15000
2
Hello, I want to upload some images, but only images. I use a livewire component. I have a validation code. But it seems it isn't working as I want it to do. I get an exception error : This driver does not support creating temporary URLs as soon as I...
BeginnerSoul BeginnerSoul
2
Hello How can I get the selected option value? I foreach from the database to a list and I am trying to get the selected option value and save in the database: <select name="priority_id" id="priority" class="form-control s...
uniqueginun uniqueginun
1
Seniors, I have a livewire component that acting weird when I click submit button. validation errors show up but it removes a whole and it's content and replacing it with another one from the form. note: I use select2 in one of my form-rows but I p...
successdav successdav
30
I am using laravel 6 I am following the video instructions on Building Data Tables with lifewire I have installed livewire and created a component which creates a controller and a blade page now this commands: wire:model, wire:click are not working....
chriskillian chriskillian
2
How can I emitSelf events in a Livewire components and listen to the event using javascript in the components? Thanks! Besides, if you are looking for a great app to listen to music online, try Spotify Premium! Get it here: https://apkdl.io/apps/spot...
uniqueginun uniqueginun
4
I'm building livewire components that shares 50% of public properties and almost 90% of submit function logic. each component using this trait has its own rules according to its html-form fields. and also each component perform some custom logic afte...
I recently moved my contact form to a livewire component and everything works except my google recaptcha it no longer works class // Validate contact info $this->validate([ 'name' => 'required|min:4|max:30', 'e...
tomekn tomekn
9
I have a problem with the correct operation of the checkbox control when editing data. If I use a code: <input type="checkbox" class="form-checkbox" name="select_tags.{{ $tag->tag_id }}[]" wire:dirty="select_t...
abdosaeedelhassan abdosaeedelhassan
7
Hi, i have laravel project most of them is livewire components, it works normal in local dev, but when i pushed up to production server the response of livewire components is very slow take more than 3 seconds, is there any one has a suggestion solut...
vguerrero vguerrero
10
Hi everyone, I have a security concern about the render method. Let me explain with an example. My render method looks like: public function render() { $this->authorize('isAdmin', auth()->user()); return view('livew...
nam_co nam_co
3
Hi, Im using livewire Real-time Validation for each field and it works, but I haven't been able to disable the submit btn until all fields are validated public $name; public $email; public $disabled = true; protected $rules = [ 'name'...
janmoes janmoes
3
Hey there guys! First time i've been actually using Livewire. I've made a simple search query component and it works. But i was just wondering, am I handling it the right way? <?php namespace App\Http\Livewire; use Livewire\Component; use App\Mo...
binggle binggle
3
I want to make Up/Down buttons working. Please check my code it is so simple .. in view <div wire:click="ThumbsUp( $video_id, 'up' )" > ThumbUp </div> <div wire:click="ThumbsDown( $video_id, 'down' )" > Thumb Do...
Snapey replied
Solved
SunnyBoy SunnyBoy
12
Hi, Has anyone got this working? I want to use Livewire but hate the fact that the forum seems not open for ALL. Or may be i could't find a way to post my issue at least... anyways coming back to the topic. I am using https://github.com/realrashid/sw...
Snapey replied
Solved
sitesurfer sitesurfer
2
I'm implementing Trix WYSIWYG into a Livewire component, having a desire to make my existing Summernote usage a bit cleaner (and why not have a go anyway). I have run into an issue where if the trix-editor is placed in the main body all is well, howe...
lemmon lemmon
3
Route::livewire('/register', 'register'); Error message is: Attribute "livewire" Not recognized I am using livewire2. This problem occurred when following: https://laravel-livewire.com/screencasts/s1-setting-up-the-component starting at 3:...
Create a New Discussion Button