-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui-form: Adding a dropdown with options dynamically doesn't work #1256
Comments
Ah, you've jumped the gun a little! That got merged into our main branch on Friday, but isn't actually released yet. @gayanSandamal @Steve-Mcl could you push out a |
We will handle this |
@joepavitt apologies, I am just seeing this now. I put a comment on the issue: #1257 (comment) Essentially, I am thinking the should not really be a .1 patch release? (as I can see a whole bunch of features in the commit log since v1.15.0) |
v1.16.0 is now released. closing issue. If problems persist, re-open or start new issue. Thanks. |
Current Behavior
I'm adding some text input fields, date picker and a dropdown to a ui-form by passing the stuff to 'msg.ui_update.options'.
After that i'm trying to add entries to the dropdown by setting this: 'msg.ui_update.dropdownOptions'.
My options are never appearing in the dashboard.
Also the documentation at https://dashboard.flowfuse.com/nodes/widgets/ui-form.html is a little confusing. On the upper part it says in the structure to set: Array<{ dropdown: , key: , label: }> but then in the example we have: [{
"dropdown": "Dropdown Name",
"value": "1",
"label": "Option 1"
}]
Expected Behavior
I expected to add 4 fields to the ui-form node, 1 of them is a dropdown. I also expected, to set the dropdown entries by passing them to dropdownOptions.
Steps To Reproduce
Here's the mini flow:
Environment
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: