Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Custom visual text input box

I am making a custom visual.  I will need to have a input text box in the properties like the one you see in the Title, see screenshot.

 

 

 

 

 

The following apparently won't work when I put this into capabilities.json

"inputText": {
          "displayName": "Text To Show",
          "type": { "string": true }        
        },

Could someone help Please?

  • Please use text instead of string.

     

    "inputText": {
        "displayName": "Text To Show",
        "type": {
            "text": true
        }
    }

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

1 Reply

Replies have been turned off for this discussion
  • v-viig's avatar
    v-viig
    Community Champion

    Please use text instead of string.

     

    "inputText": {
        "displayName": "Text To Show",
        "type": {
            "text": true
        }
    }

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]