Questions tagged [livewires]

LiveWires is a Python package designed to be used as part of the "LiveWires" programming course, a course intended to teach Python to young, first-time programmers. LiveWires might also refer to the course itself.

LiveWires is a Python package designed to be used as part of the "LiveWires" programming course, a course intended to teach Python to young, first-time programmers. It is built on top of and .

The LiveWires package is licensed under the

160 questions
0
votes
2 answers

Livewire & CKEditor how to debounce so request don't get fires on every key stroke?

I have a Livewire component that uses CKEditor 5 (also tested with 4). I have based my adaptation on this post on Laracast forum and some others:…
Marc DG
  • 51
  • 10
0
votes
1 answer

Livewire Event not firing - Modals

I'm trying to create a separate component to open a modal, but my events are not getting fired. My parent component is Admin, and the component to open a modal is AddVideo here is my Admin Component public function add() { …
PendejoTrax
  • 170
  • 3
  • 15
0
votes
2 answers

Auto calculate total value laravel livewire

i have a problem where the value isn't calculated. I have function where the user able to update Weight/size and quantity(if the input isn't in readonly). When the user enter a new weight/size it will be auto-calculated in the Order Total.…
leabelle
  • 5
  • 1
  • 6
0
votes
1 answer

Display value when select in the dropdown livewire laravel

i am still new with laravel and livewire. I wanna make sure the user select an option[ADD TRANSACTION] in the dropdown and the value will be appeared in the textbox[TOTAL TO BE PAID] based on the user selection . The value should be amount to be…
leabelle
  • 5
  • 1
  • 6
0
votes
1 answer

How to render multiple livewire component as string?

I have multiple livewire components e.g. opd.patient-count, opd.visit-count, opd.checkup-count and so on. I would like to store these components name into database then call by user role. Anyway, It does not work once I tried as below. foreach…
joenpc npcsolution
  • 737
  • 4
  • 11
  • 25
0
votes
1 answer

How to Use Select2 Multiple Select in Livewire?

i use select2 in livewire. When adding data, it worked. But when editing the data, and not changing the data in the select option, the previously selected trainer data is all lost. Here is the code I made. Edit.php
Hilmi Hidayat
  • 103
  • 4
  • 16
0
votes
1 answer

Livewire Password Reset Component

The Laravel website states that you can use the following code to reset the users password $request->validate(['email' => 'required|email']); $status = Password::sendResetLink( $request->only('email') ); return $status ===…
0
votes
1 answer

Livewire Updated hook with multiple input

I have this data $date = '21-10-1996'; $id = '1'; $count = 0; And now I want to update the $count data when every $date data and $id data are updated in the livewire form. how to properly do that? I have done public function…
Ilham Riski
  • 89
  • 1
  • 1
  • 11
0
votes
1 answer

public property [samples] must be of type: [numeric, string, array, null, or boolean]

I am using livewire trying to paginate the table public function mount($lab = null) { $this->sample = new Sample; if ($lab) { $this->lab = Lab::find($lab); $this->samples =…
Zahraa
  • 67
  • 7
0
votes
2 answers

Incorrect integer value: '{"id":1,"name":"Main Lab}' for column 'lab_id' at row 1

I get this error Incorrect integer value for column 'lab_id' at row 1 with dd($lab) it returns 1 but if I fill the form and click submet it returns the error it should be gettin from mount function? how can I fix that? can any one help? public…
Zahraa
  • 67
  • 7
0
votes
1 answer

How can I send an nexmo SMS using livewire?

I have my codes working fine but the SMS is not sent to the mobile number. I am using livewire components and everywhere I'm searching about Nexmo sms notification, it about using controllers. How can I use livewire to send the sms
0
votes
1 answer

Why is my js code suspended when executing click event in Livewire in Laravel 8?

I am in a project in Laravel 8 but I have a problem in one of the views. I am also using Livewire for reactivity, for example in the payment view I have created a multi-step or multi-step form that when I click on the continue button it takes me to…
0
votes
1 answer

Livewire: problem whit display data and form

I have problem with display data and form on one page. Display data from database disappear after write in textarea any word. The same problem ist when i click on submit. In debugger is only data from first query, from second is cleared. I try with…
0
votes
1 answer

Livewire - Increased time each time doing request

Every time I do the same action request, the runtime keeps increasing. Is there any way to fix it? in my blade :
0
votes
1 answer

My form doesn't submit in livewire project

I'm learning Livewire framework by an online course and in order to learning I created a test project. in a part of this project I've a form that doesn't submit and the view refreshes but apparently there is nothing wrong with codes . and it's…
foad
  • 15
  • 4