Sha256: c0d318c54982fed175f58207761614d7d2be8abe2474c53fa59f58c6198eb9f3
Contents?: true
Size: 645 Bytes
Versions: 66
Compression:
Stored size: 645 Bytes
Contents
# frozen_string_literal: true module Primer module Forms module Dsl # :nodoc: class AutoCompleteInput < Input attr_reader :name, :label, :block def initialize(name:, label:, **system_arguments, &block) @name = name @label = label @block = block super(**system_arguments) end def to_component AutoComplete.new(input: self) end def type :autocomplete end # The AutoComplete Primer component does not allow auto-focusing def focusable? false end end end end end
Version data entries
66 entries across 66 versions & 2 rubygems