----If I have a list of text options in my script that includes:

myList here, there be apples second, a plum third, a pear.

—and I have a place in the t2i-framework that specifies user input options

settings userInputs foo label = foo type = select remember = true options = {import:myList} //i know this isn’t correct, but gives a sense of what I’m trying to do

Is there a way to have settings.userInputs.foo.options. reference the complete set of options in myList? One item of note is that the myList options are full sentences, and thus contain punctuation such as commas. So joinItems statements would not work with a comma delimiter.

thank you!

  • VioneT@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    You can with the following:

    settings
      userInputs
        foo
          label = foo
          type = select
          remember = true
          options
            meta:import
              from = {import:my-list}
    

    Then on the my-list generator:

    $output
      here, there be apples
      second, a plum
      third, a pear.