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

Fix exception from missing import on select component #373

Merged
merged 4 commits into from
May 22, 2024

Conversation

rginnow
Copy link
Contributor

@rginnow rginnow commented May 21, 2024

Hello! I ran into this exception when upgrading to 1.2.0 today:

image

It looks to be a missing import on the select.blade.php component, related to the change in #371.
This PR just adds the import in (in a similar manner to the other blade files) so that the component can use the Str::random() function.

This is my first contribution to the Laravel ecosystem, so please let me know if there is anything missing or things I should consider for future PRs.

Thanks for making great software!

@timacdonald
Copy link
Member

timacdonald commented May 22, 2024

Thanks!

Comment on lines -15 to +16
{!! Laravel\Pulse\Facades\Pulse::css() !!}
{!! Pulse::css() !!}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving to imports to standardise how we reference classes in the views.

Comment on lines +23 to +24

AliasLoader::getInstance()->setAliases([]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ensures we don't rely on aliases across Pulse to help detect this in the future via the testsuite.

@taylorotwell taylorotwell merged commit 657c354 into laravel:1.x May 22, 2024
16 checks passed
@RobertBoes
Copy link

Will this be released as 1.2.1 or will it be released next Tuesday?

@driesvints
Copy link
Member

driesvints commented May 23, 2024

@RobertBoes made a quick release for this one.

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

Successfully merging this pull request may close these issues.

None yet

5 participants