Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #38 from aydinbulut/patch-1
Browse files Browse the repository at this point in the history
Add placeholder to select field
  • Loading branch information
ShaileshInfyom authored Jan 31, 2022
2 parents a624bd6 + fdc53e4 commit 052988d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/scaffold/fields/select.stub
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- $FIELD_NAME_TITLE$ Field -->
<div class="form-group col-sm-6">
{!! Form::label('$FIELD_NAME$', '$FIELD_NAME_TITLE$:') !!}
{!! Form::select('$FIELD_NAME$', $INPUT_ARR$, null, ['class' => 'form-control']) !!}
</div>
{!! Form::select('$FIELD_NAME$', $INPUT_ARR$, null, ['class' => 'form-control', 'placeholder' => 'Pick a $FIELD_NAME_TITLE$...']) !!}
</div>

0 comments on commit 052988d

Please sign in to comment.