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%3A3d31b21c-01a0-4da2-8827-4bc6e88b7618%2Ficon-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) {}
});
};
Hi Dimitris,
I'd instead recommend posting this over in our developer community: https://community.developer.atlassian.com/c/trello
Our engineers keep an eye out there, and they or any champions would be happy to help you out with this.
I hope that helps point you in the right direction!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.