Bulk import select element options of a Webform from CSV I am using the Webform 8.x-5.0-beta16 module in Drupal 8.

I added a select field in which I would like to set around 250 options.

Is there a way to easily import these options from a CSV?
It's easier to enter the values editing the webform via Source(YAML).

The CSV values can be easily processed into a format such as " 'label': 'value' ".
Then when editing YAML source it's just a list you can Copy &amp; Paste.

For the record, it would end up looking like this (and so on):

select_field:
 '#type': select
 '#title': 'Title'
 '#options':
   'label1': 'value1'
   'label2': 'value2'