-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: active-choices-plugin
hi,
Â
when using formatted hidden type with reactive parameter such I maned to hide the form with the following workaround in bold. That give the opportunity to display this parameter unpon Proj attributes and value
Â
[$class: 'DynamicReferenceParameter',
choiceType: 'ET_FORMATTED_HIDDEN_HTML',
name: 'toto',
omitValueField: true,
referencedParameters: 'Proj',
script: [
$class: 'GroovyScript',
fallbackScript: [
classpath: [],
sandbox: false,
script:
'return[\'Could not get CI mode of operation\']'
],
script: [
classpath: [],
sandbox: false,
script: '''
:
<some code>
html = """ <img src="fake.jpg" style="display:none;" onerror='document.getElementById("toto").closest(".form-group").style.display="none"'> """
}
return html
'''
]
]
],
Â
Would it be possible to insert this feature natively, like the OmitValue field in advanced configuration
Â
What would be great as well is to only Hide the label name of the INPUT, here below IP_NAME leaving the input form only
Â

Â
Â
Â
Â