Bootstrap 4 invalid feedback with input group not displaying

前端 未结 10 978
遇见更好的自我
遇见更好的自我 2021-02-04 00:38

I have been looking into Bootstrap 4 - beta, however when using .is-invalid with .input-group it doesn\'t seem to show up.

10条回答
  •  孤独总比滥情好
    2021-02-04 01:27

    Add .is-invalid to the .input-group.

    If the invalid-feedback element is preceded by an element with .is-invalid it will be displayed -- that is how server-side validation is supported.

提交回复
热议问题