This is my desired output. I want the date
will be equals to 1 and add in the total input and in class there's an additional x.
<div class="form-group{{ $errors->has('day1') ? ' has-error' : '' }}">
<label for="day1" class="col-md-4 control-label">Day 1</label>
<div class="col-md-6">
<div class='input-group date' id='day1'>
<input type='text' class="form-control" name="day1" value="0" readonly="readonly" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar">
</span>
</span>
</div>
</div>
</div>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…