module Ariadne::Forms::Dsl::InputMethods

def auto_complete(**options, &block)

Parameters:
  • block (Proc) -- A block that will be yielded a reference to the input object so it can be customized.
  • options (Hash) -- The options accepted by the autocomplete input (see forms docs).
def auto_complete(**options, &block)
  options = decorate_options(**options)
  add_input(AutoCompleteInput.new(builder: builder, form: form, **options, &block))
end