dashjoin / platform

Dashjoin Is an Open Source & Cloud Native Low Code Development and Integration Platform that helps teams deliver applications faster 🚀 Uses a data-driven approach inspired by Linked Data to make use of your existing assets
https://dashjoin.com
GNU Affero General Public License v3.0
89 stars 7 forks source link

Prefilled Input fields in Button widget #362

Open pgrill79 opened 1 month ago

pgrill79 commented 1 month ago

Because of https://github.com/dashjoin/platform/issues/349 we are limited in using the Edit widget.

So we also could do this with the button widget, but in that case it would be great if we can prefill the Input Fields with the actual values.

aeberhart commented 3 weeks ago

I guess the variable widget does not help here? It works like Button but pre-fills the form with "variable". The solution would be to allow specifying a JSONata expression that computes the form value before rendering it. In this case, the following two widgets would do the same thing:

widget: Button
init: variable

and

widget: Variable