I have been looking into Bootstrap 4 - beta, however when using .is-invalid with .input-group it doesn\'t seem to show up.
.is-invalid
.input-group
To make it looks exactly the same you can use an inline if, in Laravel for example:
@if ($errors->has('label')) {{ $errors->first('code') }} @endif