Give placeholder to select in Angular 6
问题 I have a select option in which i want to give placeholder which says "select a category" <form role="form" class="form form-horizontal" (ngSubmit)="onSubmit()" #form="ngForm" ngNativeValidate> <div class="form-group row"> <div class="col-xl-4 col-lg-6 col-md-12"> <fieldset class="form-group"> <label for="customSelect">Categories:</label> <select class="custom-select d-block w-100" id="Category" [(ngModel)]="Category" name="Category" required> <option value=" ">Select one category </option>