Feature #10119
open
Dropdown (selectlist) &TypeAhead: format and catagorize list
Added by Carsten Rose over 4 years ago.
Updated 3 days ago.
Description
Gewuenscht ist das man Bereiche (z.B. Tags) von Items in Gruppen einteilen kann. Bsp:
- Formatierung der Eintraege:
- Subtitle: non clickable, style: grau, oder fett schwarz, ..
- Regular Item: mit glyphicons, fa, icons.. - fett, kursiv, hover (tooltip).
- Es gibt die Gruppen, z.B. 'Farbe', 'Fruechte', 'Auto'.
- User tippt 'a'.
- Angezeigt werden im Dropdown jeweils die 3 Gruppen, pro Gruppe die Matches auf 'a'.
Darstellung der Listen
- Vermutlich kann man im JSON Datastring HTML Code angeben. Damit koennten dann die Eintraege formatiert werden.
- Wichtig ist das im Value Feld HTML gesendet werden.
Files
- Tracker changed from Support to Feature
- Description updated (diff)
- Assignee changed from Carsten Rose to Jan Haller
- Target version changed from next5 to 24.7.0
- Prio Planung set to No
BS3 hat ein paar huebsche Klassen - aber das sind Links, kein Dropdown in einem Form:
![](/attachments/download/9172/clipboard-202402071617-srpsg.png)
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
Dropdown
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#"><b>Separated</b> <u>link</u></a></li>
<li><i>Group Title (not clickable)</i></li>
<li><a style="margin-left:5px;" href="#">Separated link 2</a></li>
<li><a style="margin-left:5px;" href="#">Separated link 3</a></li>
</ul>
</div>
- Status changed from New to In Progress
- Status changed from In Progress to ToDo
- Status changed from ToDo to Priorize
Also available in: Atom
PDF