You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: multi_value_select_input.rb
    path of file: ./repos/hyrax/app/inputs
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
class MultiValueSelectInput < MultiValueInput
  # Overridin
    
  def build_field_options(value) # rubocop:disable Metrics/MethodLength (builder method)
    field_options = input_html_options.dup

    field_options[:value] = value
    if @rendered_first_element
      field_options[:id] = nil
      field_options[:required] = nil
    else
      field_options[:id] ||= input_dom_id
    end