Append text on top in a select list

Append text on top in a select list

frankjfrankj Posts: 8Questions: 2Answers: 0

In Datatables select lists the first row on the top is empty. Is it possible to put here a text for indicating to the user what is to be done? E.g. 'Select an option'.

Replies

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @frankj ,

    You could do this, but it looks odd when you want to select it again to clear the list.

    Cheers,

    Colin

  • frankjfrankj Posts: 8Questions: 2Answers: 0
    edited January 2019

    Yes, this is what I wanted to do. The fact that it seems a bit odd when clearing the list is the inevitable downside of it.

This discussion has been closed.