Hi, i'm trying https://sailfishos.org/sailfish-silica/qml-sailfishsilica-datepickerdialog.html
but this code has a error: Button { id: button text: "choose a date" onClicked: pageStack.openDialog("Sailfish.Silica.DatePickerDialog", { year: 2012 month: 11 day: 23 onAccepted: { button.text = "You chose: " + dateText } }) } thus i changed it in (added ","): Button { id: button text: "choose a date" onClicked: pageStack.openDialog("Sailfish.Silica.DatePickerDialog", { year: 2012, month: 11, day: 23, /*onAccepted: { button.text = "You chose: " + dateText }*/ }) } but commenting onAccepted obviously is impossible to show selected date. Where is the error? Nicola _______________________________________________ SailfishOS.org Devel mailing list