Hello, I try to add a date type popup for my custom power up.
I get the error:
PluginRunner::NotHandled: attempt to run callback on plugin
My code example for the client.js is :
var Promise = TrelloPowerUp.Promise;
var GRAY_ICON = 'https://cdn.hyperdev.com/us-east-1:3d31b21c-01a0-4da2-8827-4bc6e88b7618/icon-gray.svg';
TrelloPowerUp.initialize({
'card-buttons': function (t, options) {
return [{
icon: GRAY_ICON, // don't use a colored icon here
text: 'Start Date',
callback: cardButtonCallback
}];
}
}, {
appKey: 'your_key_here',
appName: 'My Trello App'
});
var cardButtonCallback = function (t) {
return t.popup({
type: 'date',
title: 'Start Date',
callback: function(t) {}
});
};