-
Notifications
You must be signed in to change notification settings - Fork 263
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
input list: new option to select a different delimiter #1210
Comments
Using JSON would seem to be a solution to embedded commas and spaces, but I can see some ease-of-use considerations for a single character as delimiter. |
- Add option DELIMITER for drop-down lists in input. - Default DELIMITER value is a comma, as before - DELIMITER can't have spaces - DELIMITER can be set to json, in which case a json array should be used instead of a list - Close RPTools#1210
- Add option DELIMITER for drop-down lists in input. - Default DELIMITER value is a comma, as before - DELIMITER can't have spaces - DELIMITER can be set to json, in which case a json array should be used instead of a list - Close RPTools#1210
PR #1211 implements this. |
|
Tested. Working as described. |
Documentation and examples added to wiki page. |
Change may have broken something else. Following code works in 1.5.12 but not in current develop.
|
I'll work on a fix. |
- Fix bug where radio delimiter was missing, generating a NPE - Issue mentionned in RPTools#1210
PR #1233 fix this issue. Also note that my previous PR added the |
Re-Tested. Radio button and Drop-down Lists now working. |
Is your feature request related to a problem?
When using the
input
dialog, there is an option to use a list to create a drop-down list of choices.Unfortunately, the list needs to be comma delimited. This is inconvenient when working with items with themselves have commas in them.
Describe the solution you'd like
An option to specify a different delimiter for the list. Something such as
DELIMITER=X
where
X
is the delimiter to use. Additionally, the option to use a json array instead of a list would be welcome.Additional context
One issue is that each option is separated by a space. Hence, I'm not sure how a delimiter including a space could be specified.
The text was updated successfully, but these errors were encountered: