Sha256: 91d540ca384f292b3df669539ef1b772bbbc2314ac38815b71e2ac1457ed1e66
Contents?: true
Size: 383 Bytes
Versions: 36
Compression:
Stored size: 383 Bytes
Contents
module Avo module Fields class TextField < BaseField def initialize(name, **args, &block) @defaults = { partial_name: "text-field", computable: true }.merge(@defaults || {}) super(name, **args, &block) @link_to_resource = args[:link_to_resource].present? ? args[:link_to_resource] : false end end end end
Version data entries
36 entries across 36 versions & 1 rubygems