I created project in laravel with data table on it. I want to return a div value as progress bar in my column. But, only text shown in my table, not the progress bar. Here is my controller here is my view I want to add Bootstrap Progress in each progress column, is that possible? or something wrong in my
Tag: laravel
How to make dropdown menus work using popperjs in Bootstrap 5 [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I’m currently trying to make dropdown menus work in Bootstrap 5. I read this functionality requires Popper.js, but I don’t
Jquery Datatable pagination button style fix
I am using Jquery datatable specially yajra datatable for laravel. But when I run the app, the datatable pagination buttons is distorted. I added a custom button in order for me to customize a button functions. If anyone know how to fix please help. Thanks. Here is my data table Here is my code for specific datatable Answer I have
Why won’t my simple get request with axios return what the controller’s returning?
I’m learning Laravel with React.js but I can’t figure out why my simple get request won’t work. I get a 404 error. I’ve seen a similar question asked on SO and I’ve tried running composer require barryvdh/laravel-cors on the command line but it still doesn’t work. How can I rectify this? Here’s react code: Here’s api.php Here’s MailController.php Answer your
How do I assign an array of objects to an empty array in a Vue component?
I am trying to write my first Laravel program that uses Vue components. I am using Laravel 8.x and Vue 2.x and running on Windows 10. I’m imitating a video that shows how to do it. Unfortunately, not everything he’s doing works for me. Some people here were very helpful to me yesterday in solving the problem I was having
Select Multiple ids and Pass to controller at once
Am tried to select multiple of ids from the concept of delete multiple ids, but am get the error and ids not passed this is code i tried kindly can you show me how i can fetch those ids and passed to controller am expect to update one column like this Answer In Ajax Call replace From To and in
Passing an array object property from Laravel in Vue
I am sending an article->tags array of objects to my Vue component like so: I get this array: Now in my component, I want to get to the name field so I can store it and pass it onwards. How can i do this? this post has the same problem, but when i try this solution: I get an undefined.
Laravel Livewire: Cannot read property ‘$wire’ of undefined
I have a problem with laravel livewire. I think the problem is really simple, but I can not solve it. Let me explain everything. I have a daterangepicker (LitePicker), he works perfect, but I want when user select date range value to set this value to the property and filter data. My problem is that I can’t set value to
Unable to download file in laravel ajax on button click
When I am trying to use the download button to download file in laravel ajax, it is not working properly and I am not able to download file. Below is my code: Controller: Ajax: Answer Just to pseudo-code it up with trusting your data is coming back as desired I think you need to trigger the download in your success
Checkbox should be checked if the value is passed by javascript in laravel
i have check box in javascript i am passing value to checkbox id=”total_distance” i want if passing value == 1 use this value in it and compare it {!! (**here compare**) ? ‘checked=”true”‘: ” !!} Answer use this one. this should solve your problem with setting value in javascript as you wrote