-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Dynamic list values are not cleaned after script execution #385
Comments
…ith updating parameters one by one. + improved forcedValues for obsolete values with proper validation error and automatic cleanup
Done
|
I hope this does not mean that: if in field 1 I have a list of its values and in field two I have to get a list based on the value I choose in the 1 item.... |
this is the example I used: { the first parameter lists the audio outputs... |
Hi, actually the existing behavior should stay almost untouched
In your example it should show only supported frequencies, as you expect
If it doesn't work this way, it's a bug :(
antonellocaroli <notifications@github.com> schrieb am Mi., 6. Jan. 2021,
17:31:
… @bugy <https://github.com/bugy>
this is the example I used:
{
"name": "Audiocard",
"param": "-t",
"type": "list",
"required": true,
"values": {
"script": "/opt/.gentooplayer/web/scripts/script/card/card.sh"
},
"description": "Select AudioCard"
},
{
"name": "Max Sample rate",
"param": "-R",
"type": "list",
"values": {
"script": "/opt/.gentooplayer/web/scripts/script/card/maxrate.sh
${Audiocard}"
},
"required": true,
"description": "Select Max SR dac supported"
},
the first parameter lists the audio outputs...
choosing the audio output in the second parameter displays the maximum
supported frequency.
but now it lists all the maximum frequencies.....for each audio output
listed in parameter1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#385 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJXPJJGP6WBWRR3NXQ6ANTSYSF73ANCNFSM4VKIRO6Q>
.
|
Hi @antonellocaroli could you create some minimal reproducible config and a script, please? |
Hi @bugy , ok, I'll check again....maybe it's a problem in the script.... |
Hi, I have a little problem. I use the dynamic list values but it isn't send full "text" of combobox. Combobox N°1 (Naming : Etablissement)
i use ${Etablissement} at the end in script line, but in value in my param in script is only "residence", i don't have more text. Do you have idea ? Sorry for my English, i'm not very good. |
Hi @BConcept59, could you try wrapping the |
Hi @bugy , i try wrapping in quotes ( Bad : Good : |
Are you running script server on windows or Linux?
… Hi @bugy <https://github.com/bugy> , i try wraping in quote, but this
isn't ok.
My cmd line is : powershell -ExecutionPolicy Unrestricted -Command
./src/features/sc_script_003.ps1 ${Etablissement}
For my other parameters, it's perfect, juste for the ${Etablissement}
this isn't ok.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#385 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJXPJICYWPPSFIAC7WTCI3TFQXCNANCNFSM4VKIRO6Q>
.
|
Thank for your help @bugy !! I running on Windows. |
Thanks, I'll check later
… Thank for your help @bugy <https://github.com/bugy> !!
I running on Windows.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#385 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJXPJP765F4CDAIUED2FIDTFQXS5ANCNFSM4VKIRO6Q>
.
|
Hi @BConcept59. I saw your original message, with "this isn't ok." and wanted to check. I created a separate ticket for making the behaviour less confusing: #420 |
Steps to reproduce:
Actual result: the list has [A, C, D] parameters
Expected result: the list has [C, D] parameters only
Demo: https://gph.is/g/Evp9OXV
Reported by @autogun
The text was updated successfully, but these errors were encountered: