Mark error in form using Bootstrap

后端 未结 7 2308
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 07:52

I\'ve started using Bootstrap in order to achieve a nice page design without resorting to GWT (the backend is made in java)

For my login screen I copied this example

7条回答
  •  青春惊慌失措
    2020-12-07 08:01

    For Bootstrap v4 use:
    has-danger for form-group wrapper,
    form-control-danger for input to show icon (will display ✖ at the end of input),
    form-control-feedback to message wrapper

    Example:

    
    
    
    

提交回复
热议问题