Antonella Antonella
4
i have composer 1.10.20 there is a new error that I don't understand, related to how I recall the livewire view in the laravel view. i get this error: ArgumentCountError Too few arguments to function Illuminate\Support\Str::replaceFirst(), 2 passed i...
baspax1 baspax1
1
Hi im trying to make work two Updated() functions simultaneously is it possible? Simply i have a modal form that listening for errors and also want on spesific field (Plate) to auto Upper the value, that works only if i comment the main function Upd...
Hi, I have a dropdown with an click event using livewire. it was working few days/weeks ago but suddenly it stop working. And I cant figure out why it that. here some code on my blade file. <ul> <li><a wire:click.prevent="sele...
KDev replied
Solved
jrdavidson jrdavidson
0
I'm trying to figure out two things. When I have semesterIdToDuplicate set to a value of 0 and I add more than one course to to the selectedCourses array then remove one of them, they all get removed from the selectedCourses array. If I have the...
warpig warpig
5
Hey guys how can I make 2 requests for 2 different end points on a URL that comes from an API? public $search; public $searchResults = []; public function updatedSearch($newValue) { if(strlen($this->search) < 3) {...
neilstee replied
Solved
ehsanquddusi ehsanquddusi
6
I have created a livewire component with view as <div> <li class="nav-item nav-search"> <a class="nav-link nav-link-search"> <i class="ficon" data-feather="search"&g...
warpig warpig
0
Hey guys, this one is a thinker. I was implementing a Javascript image slider library https://flickity.metafizzy.co/ and until I moved my html structure to a Livewire component I seem to have lost the functionality of the package, livewire/thps4.blad...
jrdavidson jrdavidson
9
I'm trying to figure out why my livewire blade file isn't displaying the list of courses for the changed semester. If I dump the courses as the last line in the changeEvent method I get the right options, but it doesn't render the options in the sele...
trogne trogne
7
I have a big list of checkboxes. With "wire:model", everytime I click a checkbox, a request is sent. If I select many checkboxes, there's a strange behavior because of too many requests : some checked checkboxes get uncheck, some unchecked...
baspax1 baspax1
5
I wan to have a Clean assets on my code and i choose to make a fresh start , I make new laravel installation, composer create-project laravel/laravel example-app composer require laravel/ui php artisan ui bootstrap npm install && run dev ins...
trogne trogne
3
I follow this tuturial ; https://codecourse.com/watch/quick-and-easy-livewire-datatables There's a list of checkbox. Everytime I click on a checkbox, a request is sent. In the tutorial, the page is updated instantly upon checkbox clicks. In my case,...
elkebirmed elkebirmed
1
I want to redirect to an OAuth2 socialite provider when a user clicks a button, but nothing is working. <?php namespace App\Http\Livewire\Pages; use App\Models\User; use App\Models\Country; use Livewire\Component; use Illuminate\Support\Facades\...
prospero prospero
2
Hi there, I need a solution for this, so think on this scenario. I have a form for user's reset password with some inputs fields for password (old, new and confirmation), the user types into but don't do any action (input field remain filled) and if...
warpig warpig
1
Hi guys im implementing a live-search component in Livewire using an API with a GET request but I can't display that data, I was able to dd the results and that gives me an array, so the API response is doing fine the only thing it's not is how to tr...
warpig replied
Solved
baspax1 baspax1
17
Hi i want to have something like this:https://prnt.sc/116mqrg when i press success want to make toggle success(green) not success(red) and changes on the sql to 1 or 0 any idea to do that? i try it but cant work. public function success($serviceID) {...
davides98 davides98
0
Is possible to use sortable for order Categories and Subcategories with DRAG & DROP? I use this template table for categories id parent_id name...
Ato Augustyn Ato Augustyn
4
As an example, if you want to create a booking site, you would need to store customer information such as their name and address. One solution would be to build a single, big part that contains all the logic and then a single view file that grows and...
When I want to render the ShowPost component I faced this error this is the route: Route::get('/blog/{id}', function () { return view('pages/show-post'); }) this is the show-post.blade.php @extends('pages.ShowLayout') @section('content') <header c...
baspax1 replied
Solved
Wakanda Wakanda
17
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...
anonymouse703 anonymouse703
11
Hello guys, What is the proper way to search last_name, first_name, middle_name in one input tag? I did like this but there's an error public $searchCustomer, $customers; public function render() { $searchCustomer = '%' . $this->s...
haizone haizone
2
how i can remove the livewire from the source code of the page? in a few compnent i didndt want the use see the source code how i can to remove that?...
anonymouse703 anonymouse703
6
Hello guys, I upload a record with image but the filename of the image is something like this C:\Windows\Temp\php5C1D.tmp and the the file name. this is my store function public function store(){ $action = ''; $data = $this->val...
baspax1 baspax1
1
Hi im new to Laravel and i creating a beautiful things with livewire-jetstream , Right now im working on a child table (services) that get id from parent (customer) via route. i have two problems and one question. 1.I have to functions remoteShowModa...
mst526 mst526
4
Hey All, I have a question about how to best accomplish something using Livewire. I am creating a site that allows managers of a restaurant to set the different times during the day when certain items are available. I would like to give them as much...
mst526 replied
Solved
UsmanBasharmal UsmanBasharmal
5
i have a table for users and each row have a button. I want to show that user id inside a p tag when it is clicked, but it does not show component : <?php namespace App\Http\Livewire\Backend; use App\Domains\Auth\Models\User; use Livewire\Compone...
emaz21 emaz21
12
New to both Laravel and Livewire. I'm trying to create a basic modal for adding an inventory item. Obviously I'm missing something. Here is item.blade.php, which I created using php artisan make:component Item <x-app-layout> <x-sl...
UsmanBasharmal UsmanBasharmal
2
In Laravel I use the datatable plugin for my tables. For the users view section, because I wanted the administrator to be able to see brief information about that user by clicking on a button on the same page. I used livewire, which by clicking on th...
sohail49 sohail49
5
Hi Guys Anyone Know To insert kay and Value to livewire array For Example I have an array and I want to add some to the array this is the default behavior array:3 [▼ 0 => "xl" 1 => "red" 2 => "100" ] Bu...
esorone esorone
4
Hello all, Im still learning Livewire and try to build a small CRUD application. Just for learning purposes. Everything's works fine, but now i just want to have an additional button on a component, which should call another model.. I created some st...
sohail49 sohail49
1
Hi Guys I want to Create A Tags Input in Livewire i use a jquery tag plugin but its not passing the data to live wire component can Here is the Plugins Link it work in laravel https://www.jqueryscript.net/demo/Tagging-System-Autocomplete-Amsify-Sugge...
uniqueginun uniqueginun
6
I'm using livewire pagination it works but sometimes I have to click twice to navigate to other page. I swear to GOD it works fine if I cleared the log file before each click !!!!!!!!...
gn0rt0n gn0rt0n
0
Looking for some quick feedback on best practices with Algolia within a Livewire project. I have prior experience with vue-instantsearch.js but and going to implement it in an upcoming project. We have much of the customization already done, but it i...
dennisprudlo dennisprudlo
2
Hey guys, simple question: Is there a smart way to include the @livewireStyles and @livewireScripts in the compiled assets using Laravel Mix? The blade directives inject a style and script tag into the DOM. The script tag (which has a src attribute)...
codebullet codebullet
1
Greetings I am using Livewire on Multi-Tenant application I have the below global scope //Tenant Scope <?php namespace App\Tenant\Scope; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illumi...
prospero prospero
0
I need some light with next and explain a bit...In one of my components, I made optional parameter data binding by route like Route::get('/show/{company?}', [ShowCompanyComponent::class])->name('show.company'); and in the component public ?Compan...
Create a New Discussion Button