Sha256: e35870d231882bbb5c8de5b30eef55e150503e5e4abdb270959fdeebafa25133

Contents?: true

Size: 440 Bytes

Versions: 6

Compression:

Stored size: 440 Bytes

Contents

require 'voom/presenters/dsl/components/datetime_base'

module Voom
  module Presenters
    module DSL
      module Components
        class DateField < DatetimeBase
          attr_reader :config

          def initialize(**attribs_, &block)
            super(type: :date, **attribs_, &block)
            merge_config(:min_date)
            merge_config(:max_date)
            expand!
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.0 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-2.0.3 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-2.0.2 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-2.0.1 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-2.0.0 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.2.0 lib/voom/presenters/dsl/components/date_field.rb