mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[GH-ISSUE #1237] Feature Request: Make multi-select custom fields easier to use #765
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NiceGuyIT on GitHub (Aug 5, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1237
Is your feature request related to a problem? Please describe.
Using a collector script to populating multiple items in a multi-select fields is very restrictive. It accepts only a comma separated list of values on one line.
Describe the solution you'd like
It would be nice if it also accepted a list of values separated by newlines. For example, one value per line. Another option, albeit a little more intense, is to use JSON to represent the multiple values.
Describe alternatives you've considered
N/A
Additional context
It took a while to figure out how to set multiple values in a multi-select custom field.
@sadnub commented on GitHub (Aug 14, 2022):
I believe this is a restriction with Postgres arrayfield. That is how it stores them in the database. In the django app, it will convert the returned values into an array which makes it really easy to use. But using scripts this conversion needs to happen client side.
@silversword411 commented on GitHub (Oct 26, 2022):
We'll close as a won't fix unless someone has a better idea.