Bootstrap select dropdown list placeholder

前端 未结 19 1249
谎友^
谎友^ 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:18

    Using Bootstrap, This is what you can do. Using class "text-hide", the disabled option will be shown at first but not on the list.

    
    

提交回复
热议问题