svghmi/widget_dropdown.ysl2
changeset 3487 efa45e7cb04b
parent 3352 3a138ccdfafa
--- a/svghmi/widget_dropdown.ysl2	Wed May 25 09:52:50 2022 +0200
+++ b/svghmi/widget_dropdown.ysl2	Wed May 25 09:55:36 2022 +0200
@@ -374,7 +374,7 @@
         // special case when used for language selection
         when "count(arg) = 1 and arg[1]/@value = '#langs'" {
             |   this.text_elt = id("«$text_elt/@id»");
-            |   this.content = langs;
+            |   this.content = langs.map(([lname,lcode]) => lname);
         }
         when "count(arg) = 0"{ 
             if "not($text_elt[self::svg:use])"