-
-
Notifications
You must be signed in to change notification settings - Fork 38
menus in blocks #175
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
Comments
Further to this, a complication: |
Do you want to upload a CSV file ? |
I can get the functionality I want by making the block input parameter, that is the controller parameter, an enum. In which case you can get a menu for selecting the enum. I'd like to extend this to where the parameter is to be selected from a list and it's index is selected, or even better a selection is made from a dictionary int,string with string displayed and int selected. |
Ah, ok. Let me see if the OpenAPI has such functionality . Alternatively, we can think it to an Enum that has a Description attribute |
OK I'll look at OpenAPI. I want it determinable at ASP.NET runtime. Not compile time. |
In the mean time, I have done a partial workaround. |
Is it possible to have a block where an input is a selection from a menu that data for which is a list or even a CSV list.
That is the list is generated by code not from blocks. For eaxample from a database query.
I can implement that (CSV list) at runtime but I'd like to have a Generic block with which I can specify its functionality by selecting from a menu at setup time, when the block is added to the canvas?
Thx
The text was updated successfully, but these errors were encountered: