Bug: Form Feedback does not work correctly if you use an Input Group
See original GitHub issueI am trying to setup a login form that has an input group and a validation error message.
NOTE: If you understand pictures better, I have included one below to explain this.
After looking thru the documentation I see that if I wrap a < b-form-input >
inside of a < b-input-group >
I can accomplish the Bootstrap Input Group. I did and it works as expected.
Now I would like to make use of < b-form-feedback >
. This is where my problem (which I suspect is a bug happens).
(1) The < b-form-feedback >
never displays my error message if I place it just after the closing </ b-input-group >
.
(2) If I place it inside the < b-input-group >
it displays, but totally messes up the styling.
Please help!
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (10 by maintainers)
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 >Forms - Bootstrap - University of Houston
Icons, labels, and input groups ... Manual positioning of feedback icons is required for inputs without a label and for input groups with...
Read more >CSS · Bootstrap
Grid systems are used for creating page layouts through a series of rows and columns that house your content. Here's how the Bootstrap...
Read more >How to Report Errors in Forms: 10 Design Guidelines
We use them to log in, purchase items, send feedback, and enter our ... if users don't know that there is a problem...
Read more >Bootstrap 4 Forms - W3Schools
Add a wrapper element with .form-group , around each form control, to ... And a margin bottom class ( .mb-2 ) is used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep,
I just tested it and it is working.
This is a well know documented bug/feature/limitation with Bootstrap V4 CSS (see several other duplicate issues).
Unfortunately it is not something we can control since it is governed by Bootstraps CSS, and how their new validation feedback works (based on sibling selectors and native browser validation)
Please give your voice/concerns over at twbs/bootstrap: https://github.com/twbs/bootstrap/issues/23454