Ix-textarea strings displayed as objects

We recently upgraded ix-angular to v3 and with that replaced all textarea with ix-textarea components. But we faced a problem that even when passing the value as string to ix-textarea (ex: “{“test”: “sample data” }” which is a json stored as string it was always shown inside the textarea as [object Object].

        <ix-textarea
          textarea-height="100px"
          textarea-width="100%"
          #credentialsTextArea
          [value]="getFormattedData()"
        ></ix-textarea>

image

We overcome it by replacing all double quotes with single quotes but be need to modify the text for that.

Can you advise how can we display value like: {“test”: “sample data” } inside ix-textarea ?

1 Like

Hi :waving_hand:

Looks like you found a bug! No worries, just create a GitHub issue at Sign in to GitHub · GitHub.

Using GitHub will keep you in the loop about how your issue is progressing, so you’ll always know what’s up.

And once we’ve fixed that bug or added your new feature, we’ll let you know via the GitHub Issue in which version it’ll be in.

Thank you!