xmlParseOptions = options => {
  const data = []

  for (let i = 0; i < options.length; i++) {
    const optionData = {
      ...xmlParseAttrs(options[i]),
      label: options[i].textContent,
    }
    data.push(optionData)
  }

  return data
}
Convert field options to optionData
@private
@param  {NodeList} options  DOM elements
@return {Array} optionData array