Class: CafeCar::Inputs::DateInput

Inherits:
BaseInput
  • Object
show all
Defined in:
lib/cafe_car/inputs/date_input.rb

Overview

A native date picker <input type="date"> for date columns.

Instance Attribute Summary

Attributes inherited from BaseInput

#args, #form, #method, #options, #template

Instance Method Summary collapse

Methods inherited from BaseInput

build, classes, #defaults, #html_safe?, #info, #initialize, #render_options, #text_hints, #to_html, #to_s

Constructor Details

This class inherits a constructor from CafeCar::Inputs::BaseInput

Instance Method Details

#helperObject



5
# File 'lib/cafe_car/inputs/date_input.rb', line 5

def helper = :date_field