.invalid-feedback doesn't show for .input-group with an invalid control
See original GitHub issueExample:
<div class="form-group col-md-4">
  <label class="form-control-label is-invalid" for="valuation_value">Estimated Value</label>
  <div class="input-group is-invalid">
    <span class="input-group-addon">£</span>
    <input class="form-control is-invalid" min="0" type="number" value="" name="valuation[value]">
  </div>
  <div class="invalid-feedback">can't be blank, is not a number</div>
</div>
Results in:
 
I would expect to see can't be blank, is not a number under the input-group.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:76
- Comments:88 (27 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
Bootstrap 4 invalid feedback with input group not displaying
Boostrap 4 is very buggy. My suggestion is to replace: <div class="invalid-feedback"> Text here </div>. With: <div class="text-danger"> Text ...
Read more >Validation · Boosted v5.0
When attempting to submit, you'll see the :invalid and :valid styles applied to your form controls. Custom feedback styles apply custom colors, borders,...
Read more >Bootstrap display invalid-feedback server side validation
I worked on a Bootstrap v4.4 form where the validation is done on the server-side (Laravel) and when I receive errors on the...
Read more >PBS 66 of X — Bootstrap Form Validation
<footer class="mt-3 p-2 bg-light" role="form" aria-label="Admin Login"> <form class="form-inline" action="javascript:void(0);"> <span class="input-group ...
Read more >Bootstrap 4 input group with validation on Codeply
Bootstrap 4 input group with validation Codeply example. ... <div class="invalid-feedback order-last ">. Error Message.
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

In your example, you might need to place the
<div class="invalid-feedback">right after the input (at least from what I understood in the docs).Urgh, just ran in to this myself.
Why can’t we just have the
.has-error,.has-success, and.form-control-feedbackclasses back? 😞