Sha256: 2fb101f43587b022c62fa3eb29c50184230eafd090d975e96d166e4a70d8689f
Contents?: true
Size: 1008 Bytes
Versions: 7
Compression:
Stored size: 1008 Bytes
Contents
module Yaks # Based on the HTML living standard over at WHATWG # https://html.spec.whatwg.org/multipage/forms.html # # Does not aim to be complete, does aim to be a strict subset. module HTML5Forms INPUT_TYPES = [ :checkbox, :color, :date, :datetime, :datetime_local, # :datetime-local in the spec :email, :file, :hidden, :image, :month, :number, :password, :radio, :range, :reset, :search, :tel, :text, :time, :url, :week, :select, :textarea, :datalist, :legend ] FIELD_OPTIONS = { type: nil, required: false, rows: nil, value: nil, pattern: nil, maxlength: nil, minlength: 0, size: 20, readonly: false, multiple: false, min: nil, max: nil, step: nil, list: nil, placeholder: nil, checked: false, disabled: false } end end
Version data entries
7 entries across 7 versions & 1 rubygems