How use sandbox for activeChoiceParam in job-dsl?

Hello! I have code job-dsl

        pipelineJob('myjob') {
          parameters {
              activeChoiceParam('CURRENT_JOB') {
                filterable()
                choiceType('SINGLE_SELECT')
                groovyScript {
                  script("""\
                  return [
                  'XXX',
                  'YYY',
                  ]""")
                }
              }
          }
          definition {
            cps {
              script("""\
                pipeline {
                  agent any
                  stages {
                    stage ('build') {
                      steps {
                        withCredentials([string(credentialsId: 'XXX', variable: 'XXX')]) {
                          sh '''#!/bin/bash
                                my bash code
                          '''
                        }
                      }
                    }
                  }
                }""".stripIndent())
              sandbox()
            }
          }
        }

I try use activeChoiceParam, but get message

The script is not approved and will not be approved on save. Modify the script to approve it on save, or approve it explicitly on the Script Approval Configuration page

If i use sandbox by hand - job is word.
i try use sanbox in job-dsl code, but sandbox not support: job-dsl-plugin/ActiveChoiceGroovyScriptContext.groovy at 94d5aa82764ef808ab36c5e8ee0dd5404ef65844 · jenkinsci/job-dsl-plugin · GitHub

Error message: No signature of method: javaposse.jobdsl.dsl.helpers.parameter.ActiveChoiceGroovyScriptContext.sandbox()

How use sandbox for activeChoiceParam in job-dsl ? Thanks!

Sounds like you need to file a bug on this.