Created by: ysds
Drop feedback messages by sibling selector for V5.
There is no way to solve the #25110 (closed) and #29439 (closed) maintaining the current specification. If you are using a modern JavaScript framework, this removal of sibling selectors is not a problem, because feedback messages are almost always controlled by if
directives (e.g. ng-if
). Control styling with the .is-valid/.is-invalid
has the same feature as v4.
Also this close #28414 and #30438 (closed).
Preview: https://deploy-preview-30170--twbs-bootstrap.netlify.app/docs/5.0/forms/validation/
PR for v4 is #30180