Alzaabi98 Alzaabi98
2
Hi. How can I add cdn for javascript or css to one component only ? I am extending layouts.app laravel layout in my component class. I was thinking this is similar to make yield inside main layout . but not sure how can I inject the urls from the com...
harunsir harunsir
6
I have tried but not be able to make double click on livewire. Is it possible?...
dmhall0 dmhall0
16
I am trying to have a dependent dropdown. The user selects the skill and then livewire pulls the list of appropriate trainers. In my app file I have @livewireStyles and <script src="{{ asset('js/app.js') }}" ></script> in the h...
stevepurcell stevepurcell
1
I have a need for a fairly simple function that will take a ranking number and display it graphically as 1 - 3 stars based on that rank. Does something this simple require a full livewire component, or is a custom helper function still the way to go...
sohail49 sohail49
8
Hi I am making a Comment System In Livewire but the Thing is When i Insert a Comment I don't show Unless I reload the Page I am using Livewire Full-Page Components here is the Code The route Route::get('/livePost/{id}/show', Comments::class)->n...
Naqibullah Naqibullah
7
Hello everyone , I am new to livewire and I have issue with select option . there is a checkbox in my page and when I click checkbox the select option should be disabled and it's value should be ignored but what I get is the select option is disabled...
proxomos proxomos
1
So I have run into a challenge that I can't find a solution too. I have an eshop that I am building using Livewire. On each product page url is "/computers/imac" with the details of the product and a "Buy" button with a quantity f...
anonymouse703 anonymouse703
6
Hello guys, I like to use one modal CRUD in my livewire project like in vue js but the data is not displaying on edit function.. my question is How can I pass data from my table component to my modal component? this is my livewire table. Note: There...
Hi! I'm encountering a problem with livewire... Basically, when I write a text, it sends it to the server and compile the file (it's a latex file). This compilation takes a "long" time. While the compilation is running, I would like livewir...
brentxscholl brentxscholl
3
I have a Filepond component that works great for uploading images to a post. However, I'm struggling with Filepond when needing to edit a post and its pre-exisiting images. I want to load Filepond with the Post model's pre-existing images. The goal i...
brentxscholl brentxscholl
2
I have a component with nested properties and I'm having a hard time figuring out how to set() and assertHasErrors() when testing the component. Here is my component: public $schedules = [ 'start_date' => null, 'timeslots' =...
pokeycam pokeycam
1
I'm having some issues with Livewire giving me the following error Livewire encountered corrupt data when trying to hydrate the [show-timesheet] component. Ensure that the [name, id, data] of the Livewire component wasn't tampered with between reques...
alexvolley alexvolley
1
Hi, I'm looking to try build the functionality to rotate an image with its temporaryUrl prior to saving it permanently with livewire. Currently I am displaying the image with its temporaryUrl before saving it permanently to S3 however I need to allow...
Neeraj1005 Neeraj1005
6
In my project, I have done image upload using form submit but now I want some advanced technique like If I select an image it automatically uploaded. can anyone tells me what should I have to do... These are my method have a look at them, please. <...
Is there any good way to pass custom data to validateOnly? I do a bit of changes on the values before validation. Maybe overwrite the function getDataForValidation? From Real-time Validation at https://laravel-livewire.com/docs/2.x/input-validation...
kieferjs kieferjs
5
Hi! I'm new to Livewire and I've got 2 pages using livewire and livewire components. I have the list page showing the rows just fine and when I click the button in the blade, the row ID passes properly into the route. However, I'm unable to load th...
xiolog xiolog
21
Hello. I need a help. I have a card. I want to show additional information when the mouse is over it. How can I do that?...
Snapey replied
Solved
janmoes janmoes
29
Hey there guys, I've recently made a component in Livewire for the first time. I didn't include it within a view, I load it in through a route instead. The basic thing is that I've made an increment and decrement method, They should update $page_numb...
So I know that if I have a middleware on the route that had the livewire component it will also receive these middlewares + those you can configure. But I was wondering, if I place a component inside a if/else or can. Will anyone be able to use/tinke...
BeginnerSoul BeginnerSoul
5
Hello I don't know how to make it possible. Tinymce and livewire together. I found this answer from https://forum.laravel-livewire.com/t/how-to-setup-tinymce-with-livewire/1148/2 but the result is just simple textarea. I don't get the tinymce. I did...
MeisamTj MeisamTj
0
I have a model (Page::class) and I bind it to public Page $editing; I want to make slug from title of page. I could use public function updatedTitle($value) { $this->slug = Str::slug($value); } but with model binding I have wire:model i...
MikePage MikePage
0
I am trying to make a custom button with livewire but can't get it to work here is my button blade file @once @push('befor_styles') <livewire:styles/> @endpush @endonce @livewire('component') @once @push('after_scripts') <livew...
Hi, I am using Jetstream with Livewire for a small test project. Everything is working very well, I just have a doubt. I am using a dialog-modal to show a form to fill in, but I cannot activate the automatic focus on the first input element. I see th...
anonymouse703 anonymouse703
4
Hi I downloaded Bootstrap DataTable and I want to use it in livewire.. I add the js in webpack.mix but it doesn't working... I tried to put it directly in the component and app.blade.php but still not working. in the component $(document).ready(...
martzer martzer
12
Hello, I can install laravel and create a new project without any problem, but when I try to install Jetstream, after the npm install command, the npm run dev comment fail and give me an error while trying to build something with css file (css/app c...
While working on a personal project, I have created a data table using Livewire and it does all the usual things (sorting, searching, filtering, patination etc...) of the data from the collection. a) Often I need to be able to change a boolean value...
adityar15 adityar15
1
As in Vue, there is a router that renders only the required slot and not the entire page, is it the same with Livewire as well in case of the route being pointed to the Livewire component which is extended to the master layout?...
undeportedmexican undeportedmexican
7
I cannot solve this for the life of me. I have a list in my blade file that looks like: @foreach($interactions as $interaction) <div class="border rounded px-2 my-2 op-gray w-100"> <div class=&qu...
whoisthisstud whoisthisstud
0
Temporary images display locally, but not on the demo site. The images still upload, but the temporary URL's return a 404 error for each image uploaded, and attempting to load the signed URL in a different tab results in a 401. I'm unsure if my issue...
kulmacet kulmacet
3
This is probably a simple one. I have a livewire component that is sort of working that will insert data into a database on the create (So far so good). The problem is that not all the fields in the livewire:component are being filled as coded below....
sohrabsaboori sohrabsaboori
0
I manipulated a table with livewire and use alpine js to get some info from the table. when I use @click, when press on paginate to the next page I got this error Uncaught (in promise) DOMException: Failed to execute 'setAttribute' on 'Element': '@cl...
nam_co nam_co
7
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'...
anon90444 anon90444
0
I am faced with three issues which all are related where I am struggling to add a event @click="isQuestion = true" on radios within a loop and validate on certain conditions based on which radio button is selected for example if authenticat...
ajithlal ajithlal
10
Hi All, I have a livewire component for my cart functionality. In that I have to pass an array as second parameter to increment function. how can I achieve that? Cart component class Cart extends Component { public $cart; public $item; p...
WallyJ WallyJ
12
I'm receiving the following error: Livewire component's [contactshow] public property [contactnotes] must be of type: [numeric, string, array, null, or boolean]. Only protected or private properties can be set as other types because JavaScript doesn'...
Create a New Discussion Button