method

week_field_tag

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionView::Helpers::FormTagHelper
week_field_tag(name, value = nil, options = {}) public

Creates a text field of type “week”.

Options

Supports the same options as #text_field_tag. Additionally, supports:

  • :min - The minimum acceptable value.

  • :max - The maximum acceptable value.

  • :step - The acceptable value granularity.

Show source
Register or log in to add new notes.