Prevent selectInput from wrapping text

前端 未结 2 1291
陌清茗
陌清茗 2020-12-18 09:58

In a shiny app, is there a way to prevent the text of the dropdown in selectInput() from wrapping, as in the screenshot below? Each option is a long text string

2条回答
  •  温柔的废话
    2020-12-18 10:45

    If you do selectize=False, within

    selectInput(id="id",label="label",choices=your_choices, selectize=False)

    It will not wrap on your text.

提交回复
热议问题