Bootstrap select dropdown list placeholder

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

    Bootstrap select has an noneSelectedText option. You can set it via data-none-selected-text attribute. Documentation.

提交回复
热议问题