server.update({
id = "myinputdialog",
type = "input",
title = "Write something!",
ontap = "myinputdialog_done"
});
actions.myinputdialog_done = function(txt)
if (is_valid(txt)) then
fancy_stuff(txt) ...
end
end
but is there any event for when users click "Cancel" on the dialog?
the example shows:
but is there any event for when users click "Cancel" on the dialog?