Skip to content

scope variable isnot recognized as valid text #48

@thunder312

Description

@thunder312

Directive:
scope.qrData = 'http://' + scope.assignedIp + ':8002/#/instrumentState';

"scope.assignedIP" is the current assigned IP of the PC.

HTML:
<qr size="100" text="qrData"></qr>

Error:
Error: The text attribute is required.
at Object.postlink [as link]

Findings so far:
I have tried several other scope variables on this page and none of these is working.
A simple String is working. (<qr size="50" text="'simpleString'"></qr>).
So I guess, I installed the package correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions