Loading dropdown value in tooltip (now load "option_0")

Hi,

i have not problem loading text custom fields in tooltip:

But what about if my field is a Select list? My code is the same but returns “option_0” instead neede value.

Thanks

founded:

scheduler.templates.event_text=function(start,end,event){
return “Staff:”+scheduler.getLabel(“staff”,event.staff);
}