-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
Description
There were currently two bugs with the Bootstrap 4 framework. Tested in Bootstrap v4.1.3 and v4.3.1 (latest) and used in Laravel 5.7.*
Input Group with Append
Problem: appended/prepended text is not displaying correctly because of wrong class "input-group-addon".
Line used:
Former::text('test')->append('€');Renders:
<div class="form-group">
<div class="input-group">
<input class="form-control" id="test" type="text" name="test">
<span class="input-group-addon">€</span>
</div>
</div>Expected:
<div class="form-group">
<div class="input-group">
<input class="form-control" id="test" type="text" name="test">
<div class="input-group-append">
<span class="input-group-text">€</span>
</div>
</div>
</div>Checkbox
Problem: small displaying tweaks because of missing classes for input and label.
Line used:
Former::checkbox('test')->text('Test');Renders:
<div class="form-group">
<div class="form-check">
<input id="test" type="checkbox" name="test" value="1">
<label for="test" class="">Test</label>
</div>
</div>Expected:
<div class="form-group">
<div class="form-check">
<input class="form-check-input" id="test" type="checkbox" name="test" value="1">
<label for="test" class="form-check-label">Test</label>
</div>
</div>