-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi David,
thanx for your work. In my last project I tried to use:
var sections = HoerSuppe.getAllPodcasts();
var Dialogs = require("yy.tidialogs");
var options = [], selected = [];
sections.forEach(function(section) {
options.push(section.title);
if (section.selected)
selected.push(section.title);
});
var picker = Dialogs.createMultiPicker({
title : "Podcastkategoriefilter",
options : options,
selected : selected,
okButtonTitle : "Übernehmen",
cancelButtonTitle : "Abbruch"
});
picker.addEventListener('click', function(e) {
console.log(e.selections);
console.log(e.indexes);
});
On the screen I see the filled dialog, but after clicking both arrays are empty. In thee.source object are all properties of constructor.
I have tested with your binary and with my own compiled under 3.2.3.GA
Any ideas?
Cheers!
Rainer
Metadata
Metadata
Assignees
Labels
No labels