Skip to main content

Questions tagged [laravel-blade]

Use this tag for questions about the Blade Template Engine, part of the PHP MVC framework Laravel

0 votes
1 answer
21 views

Laravel Inertia Templating Issue

I've worked with Laravel and Angular before in a headless fashion where I was just building API endpoints with Laravel and consuming those with an Angular front-end but it was a few years ago. I've ...
angler's user avatar
  • 99
0 votes
1 answer
43 views

HTML Elements in Laravel

Currently I am pulling product information & HTML elements from the database, I have used {!! !!} to display unescaped data. This works on web browsers, however in the ios & android ...
Alan Kilgore's user avatar
0 votes
3 answers
85 views

How to redirect based on the previous routes in laravel

There are two ways to delete a post in my app: way 1: urls: / -> posts/{post} -> posts/{post} names: home -> posts.show -> posts.destroy way 2: urls: /posts -> /posts/{post} -> posts/...
Ahmad Ahmad's user avatar
0 votes
1 answer
66 views

I keep getting this error "Cannot access offset of type string on string" whenever I try to serve dummy data to my Laravel application [closed]

I am trying to serve some data to my view. However, when i try to access the elements in my dummy array, i keep getting an error "Cannot access offset of type string on string". And I don't ...
BARIMA YAW's user avatar
0 votes
0 answers
11 views

Echoing from .jsx into Blade file. ReactJS & Vite

I've got a weird problem where I'm transferring blade.php code into .jsx, and in Blade, PHP's echo {{asset()}} and Blade's @ syntaxed code is referred to a lot. How would I go about putting it inside ....
Tyler Delmas's user avatar
2 votes
1 answer
69 views

Handling Nullable Numeric Inputs in Livewire Components

I'm working with Livewire components in a Laravel application, and I'm encountering issues when handling nullable numeric inputs (e.g., integers, floats). Specifically, when a user clears a numeric ...
David Aniebo's user avatar
0 votes
0 answers
29 views

How can i concatenate (dropzone.js) front chunk file with laravel controller

@section('css') <link href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.css" rel="stylesheet"> @endsection @section('content') <h1>File ...
Santosh Subedi's user avatar
-6 votes
0 answers
33 views

How can I create a laravel project using PHP storm and how can I use the laravel libraries like auth and PHP spreadsheet in PHP storm

Im working on a laravel project but I want to know how to work with PHP storm like making sure the laravel/UI package and PHP spreadsheet libraries are incorporated I tried importing a project I did ...
Francis Kaz's user avatar
0 votes
1 answer
47 views

Livewire 3 - Month picker / Datepicker Not Fired when using component lazy

My project using livewire 3 has a slight problem that occurs when my component uses lazy components. <livewire:report lazy /> When I don't use lazy, monthpicker and datepicker don't have ...
Bertho Joris's user avatar
  • 1,593
-1 votes
0 answers
31 views

In case of Laravel Blade file How to tag assets of a html file using PhpStorm easily at once?

I was just trying to find a shortcut for doing some manual jobs at once. I have a HTML file with below code. I want to convert it in Blade file. So I am tagging the assets files also I have changed ...
T.A. Farabi's user avatar
-1 votes
0 answers
9 views

syntax error, unexpected identifier "info_categories", expecting ")"

I am written this code in a blade file, but it's not work with this error syntax error, unexpected identifier "info_categories", expecting ")" I don't understand why <div ...
Morshedul Aziz's user avatar
0 votes
0 answers
20 views

Cached view file does not exist, but only for one user

Having a bizarre issue where Laravel is unable to find a cached view file, but it only affects a single user out of dozens. Everybody else is able to use the website fine, but for this lone user they ...
andrewtweber's user avatar
  • 25.3k
0 votes
0 answers
46 views

Custom Form field returning null value

I am building a Filament (v2) bulk action modal with some draggable checkbox options. However, i created the custom form field and used it but when i try to submit it returns null. Modal: ...
Amiyo Ghosh's user avatar
-1 votes
1 answer
86 views

Laravel: Variable not defined [closed]

error image I'm trying to display the contents of a table in the database in a view, but I got an undefined variable error. I've already tested several possible fixes, mainly in the controller, but I ...
AlexMTM's user avatar
0 votes
2 answers
101 views

Error in Return value must be of type Illuminate\Database\Eloquent\Collection

I am currently learning Laravel Filament, but suddenly there is an error like this. Previously, I fixed the error, but the result was not as expected. This is a screenshot of the error result and its ...
Piddd's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
498