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

Expression for select options works in "Button" widget, but not in Edit widget #381

Closed pgrill79 closed 1 week ago

pgrill79 commented 1 week ago

I have an edit widget, where i have a FK - i want to display only special options in the select widget - the preview works fine:

image

but if you save, you still see all available options for the FK: image

It works fine if the Select widget is within a button widget (same expression used)

aeberhart commented 1 week ago

in the switch code, moved if (schema.widget === 'select') before if (schema.displayWith === 'fk') to make sure a custom select has precedence