Display two fields side by side in a Bootstrap Form

前端 未结 8 924
执笔经年
执笔经年 2020-12-23 12:52

I am trying to display a year range input on a form that has a 2 textboxes. One for the min and one for the max and are separated by a dash.

I want this all on the

8条回答
  •  萌比男神i
    2020-12-23 13:35

    @KyleMit answer is one way to solve this, however we may chose to avoid the undivided input fields acheived by input-group class. A better way to do this is by using form-group and row classes on a parent div and use input elements with grid-system classes provided by bootstrap.

提交回复
热议问题