FlowFuse / node-red-dashboard

https://dashboard.flowfuse.com
Apache License 2.0
204 stars 48 forks source link

Not possible to bind variables using v-model in UI Template #260

Closed joepavitt closed 1 year ago

joepavitt commented 1 year ago

Description

Found here - we need a clean example of how a user can bind a variable to an input. We'd, to-date, only focussed on setting values of template content, not getting

Epic/Story

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

joepavitt commented 1 year ago

This is likely better addressed as part of a wider effort to support <script> injection into ui-template whereby users could define a full VueJS Component, their own variables, etc.

joepavitt commented 1 year ago

PR incoming with a temporary fix for this use of ui-template which will plug the gap for now, but sooner, rather than later, we also need to consider support for https://github.com/FlowFuse/node-red-dashboard/issues/115