Bootstrap select dropdown list placeholder

前端 未结 19 1475
谎友^
谎友^ 2021-01-29 22:39

I am trying to make a dropdown list that contains a placeholder. It doesn\'t seem to support placeholder=\"stuff\" as other forms do. Is there a different way to ob

19条回答
  •  误落风尘
    2021-01-29 23:20

    Yes just "selected disabled" in the option.

    
    

    Link to fiddle

    You can also view the answer at

    https://stackoverflow.com/a/5859221/1225125

提交回复
热议问题