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

Missing CSS Classes (like "form-control") #226

Open
MrReed opened this issue Mar 11, 2019 · 0 comments
Open

Missing CSS Classes (like "form-control") #226

MrReed opened this issue Mar 11, 2019 · 0 comments

Comments

@MrReed
Copy link

MrReed commented Mar 11, 2019

After upgrading from Laravel 5.4 to 5.5 i had an issue with missing bootstrap classes like "form-control" for a text input field. Everything else seems to work properly. After testing around i ended up by renaming my aliases in config/app.php for bootstrapper from

'Form' => 'Bootstrapper\Facades\Form',

to

'FormStrapper' => 'Bootstrapper\Facades\Form',

and changed my blade markup from

{!! Form::email('email', Input::old('email'), ['placeholder' => 'Email', 'class' => 'input-lg']) !!}

to

{!! FormStrapper::email('email', Input::old('email'), ['placeholder' => 'Email', 'class' => 'input-lg']) !!}

This only in case someone else have this problem. I fixed all my blades by auto replacing.

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