Bug 410718 - [Combo][CCombo] Drop down list should allow markup
Summary: [Combo][CCombo] Drop down list should allow markup
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 09:29 EDT by Rüdiger Herrmann CLA
Modified: 2013-06-20 08:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2013-06-13 09:29:29 EDT
Like the List widget, the drop down list of the Combo widget should accept markup.
Comment 1 Ivan Furnadjiev CLA 2013-06-20 07:03:06 EDT
The only problem I can think of is the content of the Combo text field if the selected item has a markup. Currently on the client, the text field is HTML <input> element that accept only plain text. Rüdiger, what do you think? List will look nice, but text filed - what to show there? Content with all the HTML tags removed??!!
Comment 2 Rüdiger Herrmann CLA 2013-06-20 08:19:36 EDT
(In reply to comment #1)
> The only problem I can think of is the content of the Combo text field if
> the selected item has a markup. Currently on the client, the text field is
> HTML <input> element that accept only plain text. Rüdiger, what do you
> think? List will look nice, but text filed - what to show there? Content
> with all the HTML tags removed??!!
I would either show the text only (all markup removed, as you suggested) or disable markup for editable combos.
Removing the markup might result in undesired text. Think of markup to show data in columns like 
+----------+
|en|English|
|de|German |
|en|Spanish|
+----------+
The text would then show "enSpanish"