From 8c5b799f37c53343508c1fc213a81bea842327b2 Mon Sep 17 00:00:00 2001 From: RemyRuzafa <48415116+RemyRuzafa@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:40:35 +0200 Subject: [PATCH] add ids on submit buttons for feedback cards (#189) Co-authored-by: AzureAD\RemyRuzafa --- node-red-contrib-bot-message/bot-send-card.js | 2 ++ node-red-contrib-bot-message/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/node-red-contrib-bot-message/bot-send-card.js b/node-red-contrib-bot-message/bot-send-card.js index 2520d9f8..901332fb 100644 --- a/node-red-contrib-bot-message/bot-send-card.js +++ b/node-red-contrib-bot-message/bot-send-card.js @@ -592,6 +592,7 @@ const buildReplyformAdaptiveCard = (RED, node, locale, data, config, reply) => { reply.actions = [{ "type": "Action.Submit", "title": submitLabelform, + "id": "SubmitFeedback", "data": { "id": "feedbackButton", } @@ -650,6 +651,7 @@ const buildReplyformGlobalAdaptiveCard = (RED, node, locale, data, config, reply reply.actions = [{ "type": "Action.Submit", "title": submitLabelformGlob, + "id": "SubmitFeedback", "data": { "id": "feedbackGlobalButton", } diff --git a/node-red-contrib-bot-message/package.json b/node-red-contrib-bot-message/package.json index c3d4c598..c6801446 100644 --- a/node-red-contrib-bot-message/package.json +++ b/node-red-contrib-bot-message/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-viseo-bot-message", - "version": "0.10.10", + "version": "0.10.11", "description": "VISEO Bot Maker - Sends messages to the user", "dependencies": { "mustache": "^4.2.0",