Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More than 8 Custom Cells in Splade Table causes Compilation Error #644

Open
safeboot opened this issue Sep 10, 2024 · 1 comment
Open

More than 8 Custom Cells in Splade Table causes Compilation Error #644

safeboot opened this issue Sep 10, 2024 · 1 comment

Comments

@safeboot
Copy link

  • Laravel Version: 11.10.0
  • PHP Version: 8.2
  • Splade JS Version (npm): 1.4.19
  • Splade PHP Version (composer): 1.4.19 / 2.5.2 (Breeze)
  • Dev environment (OS, Sail/Valet/etc): Windows 11, Firefox 130, Laravel Herd 1.10.0

Description:

When trying to make a table and adding custom cells inside in Blade, if I add more than 8 cells, it will cause the following error:
lluminate\View\Compilers\ComponentTagCompiler::compile(): Argument #1 ($value) must be of type string, null given, called in C:\My Stuff\Codebases\leavehub\vendor\laravel\framework\src\Illuminate\View\Compilers\BladeCompiler.php on line 438

Steps To Reproduce Issue:

  • Make a Splade Table class
  • Add Columns
  • In the Blade, add x-splade-cell until you reach 8 of them
  • When adding the 9th, the issue will arise
@safeboot safeboot changed the title More than 8 Cells in Splade Table causes Compilation Error More than 8 Custom Cells in Splade Table causes Compilation Error Sep 10, 2024
@safeboot
Copy link
Author

safeboot commented Sep 10, 2024

Here is an example

bwaL74bFgz.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant