InfyOmLabs / coreui-templates

Core UI templates for InfyOm Laravel Generator
MIT License
32 stars 36 forks source link

For select input a placeholder should be used #37

Closed aydinbulut closed 2 years ago

aydinbulut commented 4 years ago

This is generated: {!! Form::select('user_id', $userItems, null, ['class' => 'form-control']) !!}

In could be like this instead: {!! Form::select('user_id', $userItems, null, ['class' => 'form-control', 'placeholder' => 'Pick a user...']) !!}

The only change is adding a placeholder to the 4rt argument. 'placeholder' => 'Pick a user...'

ShaileshInfyom commented 2 years ago

@aydinbulut this issue done in PR https://github.com/InfyOmLabs/coreui-templates/pull/38 Feel free to re-open the issue with more details if you are still facing this issue.