i wanna make a condtion in my select tag in collective html
example iam get the tags from database but if the post havent any tag i wanna display message no tags
i tried this and dont work
{!! Form::select('category_id', $category ? $category :'no category' ,null,['class'=>'form-control']) !!}
any onr did this before ?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community