Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

How can i add a dynamic class name in Form::text() #17

Open
ghost opened this issue Jul 16, 2018 · 0 comments
Open

How can i add a dynamic class name in Form::text() #17

ghost opened this issue Jul 16, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 16, 2018

This method didn't worked
{!! Form::text('name', null, ['class' => 'form-control {{ $errors->has('name') ? ' is-invalid' : '' }}'] ) !!}

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

No branches or pull requests

0 participants