Sha256: c0ff3eeae805119217acdffd70796693c5e468d47eedd91c56c7194301cb2c93
Contents?: true
Size: 460 Bytes
Versions: 10
Compression:
Stored size: 460 Bytes
Contents
require "formalist/element" require "formalist/elements" require "formalist/types" module Formalist class Elements class TextArea < Field attribute :text_size, Types::String.enum("xsmall", "small", "normal", "large", "xlarge"), default: "normal" attribute :box_size, Types::String.enum("single", "small", "normal", "large", "xlarge"), default: "normal" attribute :code, Types::Bool end register :text_area, TextArea end end
Version data entries
10 entries across 10 versions & 1 rubygems