#5851 (Choicelist for DisplayColors should include sample text in that color)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kokkuvõte
Children
Kommentaarid
- 1 aasta, 8 kuud ago by Luc Saffre about #5851 (Choicelist for DisplayColors should include sample text in that color) (1 reply) : Great, but I found two more problems: (runserver in noi1r and Configure --- Calendar--> Rooms, then create a room). (1) in the grid the combobox somehow doesn't want to expand (this is not only for comboboxes with rich text, I had seen this before. And (2) in the detail view the combobox expands, bu...
- 1 aasta, 9 kuud ago by Luc Saffre about #5851 (Choicelist for DisplayColors should include sample text in that color) : I removed a call to str() that seemed wrong, but this wasn't enough. I think that the React code still escapes the text of the choicelists, but it should assume that it is already escaped. I guess this happens somewhere in LeafComponentInputChoices in LinoComponentUtils.jsx. @8lurry can you have a look at ...
- 1 aasta, 9 kuud ago by Luc Saffre about #5851 (Choicelist for DisplayColors should include sample text in that color) : I'd like to dive into this together with @8lurry on Jitsi.
- 1 aasta, 9 kuud ago by Luc Saffre about #5851 (Choicelist for DisplayColors should include sample text in that color) : I added a DisplayColors.display_text() method, which should display a sample text behind the color name, which should theoretically do it, but the <span> tag gets escaped somewhere even though it is marked as safe_html.
- 1 aasta, 9 kuud ago by Luc Saffre about #5851 (Choicelist for DisplayColors should include sample text in that color) : Created new Ticket #5851 (Choicelist for DisplayColors should include sample text in that color).