-
Notifications
You must be signed in to change notification settings - Fork 6
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
The directive is not compatible with Blade::stringable #7
Comments
Hi @machacekmartin, thanks for the detailed report. I fixed it in d66b44a and version |
This fixes the Issue of scope directive throwing an exception with Blade::stringable configuration being present in AppServiceProvider. konradkalemba/blade-components-scoped-slots#7
I was about to submit a PR that fixes the bug bcs I finally found out where the problem is, but too late, you already published the fix :D thank you! |
This fixes the Issue of scope directive throwing an exception with Blade::stringable configuration being present in AppServiceProvider. konradkalemba/blade-components-scoped-slots#7
@machacekmartin I happened to be working on a Laravel project today hence the quick fix. :D Also, I saw you created a PR for some library, however it may not be sufficient, because, when |
Custom scope directive works as intended until we add our custom configuration of
Blade::stringable
intoAppServiceProvider
.Steps to reproduce
index.blade.php
components/list.blade.php
Blade::stringable
into yourAppServiceProvider
usingboot
methodphp artisan optimize:clear
I have not found any solution to this problem. Please let me know if you manage to fix it. I want to apply default formatting of dates in blade components, but it seems the custom scope directive is somehow conflicting with it.
The text was updated successfully, but these errors were encountered: