score:0

Try breaking it up into a few steps.

val choices:Seq[(String,String)] = ("","") :: (all the rest of your options here)

scala> ("","")::List(("c","d"), ("d","e"))  
res8: List[(java.lang.String, java.lang.String)] = List((,), (c,d), (d,e))

Then use that choices var as input to the SHtml.select method. There's nothing preventing this approach from working.

score:0

Example of I82Much has problems with compiling and shows errors. I have modified his answer and have no problems. Tested.

define variable:

val choices = List(("",""), ("S", "Storage"))

and then use it

"strType" -> SHtml.select(choices, Empty, storage.strType(_), "class" -> "smallInputSelect"),

Related Query

More Query from same tag