[Python] Dropdown list with tooltip when the contents of the line is long? (Django-Select2)...

Discussão em 'Python' iniciado por Stack, Julho 8, 2025.

  1. Stack

    Stack Membro Participativo

    I have data to display in a row. I use such an element as a choice in a drop-down list. I have a very large long line of about 100 characters and I would like to have line breaks. I plan to display a drop-down list in a form.

    I read that you can come up with something like this -

    • Shorten the line - the number of words, characters, and make the end of the list in the form of three dots.

    And when hovering or selecting an element, open something like tooltips with the full name of the content when hovering. Is it possible to do something similar through such add-ons as? Django-Select2 Django-autocomplete-light

    Continue reading...

Compartilhe esta Página