-
Notifications
You must be signed in to change notification settings - Fork 371
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
Add label to parameters #486
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I embedded a query with parameters using the procedure described in #485. The problem with this is that there is no way to add an optional "label" to the parameters so as to have better control on what to disply to the users.
I tried to change the parameter name to be used as a labe but for reasons unknown to me this doesn't work. For example take a peek at this query:
Notice that I use a unicode name for the parameter in the last line; this parameter is not displayed at all (notice I'm using the normal process explorer view not any custom ones). Also, if I wanted to write
Email
as the name of the parameter instead ofemail
I'd still getemail
(all lowercase) in the form field label.One way this could be implemented (this is only for UX purposes, I haven't read the code to understand if it's possible) is to add an optional label in the field similar to the optional default value. I.e right now we can do:
$$paramName:defaultValue$$
, this can be changed to$$paramName:defaultValue:Label$$
(and let's suppose we don't allow:
in the label).Is this the correct way to go? Also is this a feature we'd like to add ? If yes I'd be happy to take a look at it.
The text was updated successfully, but these errors were encountered: