mardi 5 novembre 2019

Wrap the text of the title in Adaptive card action submit

I have the following adaptive card used in my chatbot and the text of the action title is not warped.

the action which i'm trying to wrap is : (I would like to know more about Dental Benefits Required Pre Determination)

{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "type": "AdaptiveCard",
  "version": "1.0",
  "body": [

    {
      "type": "TextBlock",
      "spacing": "medium",
      "size": "16",
      "weight": "bolder",
      "text": "Information About Dental Benefits",
      "wrap": true,
      "maxLines": 0
    },
    {
      "type": "TextBlock",
      "size": "default",
      "isSubtle": "yes",
      "text": "Please click one of below links for more information on Dental Benefits",
      "wrap": true,
      "maxLines": 0
    }
  ],
  "actions": [
    {
      "type": "Action.OpenUrl",
      "title": "General Info on the BrucePower Dental Plan",
      "url": "http://intranet.corp.brucepower.com/sites/HR/Benefits/Pages/Dental-Benefits.aspx"
    },
    {
      "type": "Action.Submit",
      "title": "I would like to know more about Dental Benefits Coverage Different",
      "data": "dental coverage different",
      "style": "default"
    },
    {
      "type": "Action.Submit",
      "title": "I would like to know more about Dental Benefits Required Pre Determination",
      "data": "dental require predetermination",


    }
  ]
}



Aucun commentaire:

Enregistrer un commentaire