Skip to content

Input defaults to type="string" #541

Description

@cirdes
  • Where: Input's default type: in input.rb, and date_picker.rb's
    input_attrs (type: "string"). Snapshot date_picker/without_label.
  • Effect: string is not an HTML input type; browsers fall back to
    text, so nothing breaks, but the attribute is invalid and will be
    flagged by any validator, including Herb's.
  • Fix: type: "text" in both places; re-record (on the 2.0 line) input/*,
    date_picker/* and whatever else changes.

Surfaced by the golden HTML suite (PR #536), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshot that pins it is re-recorded there with the diff reviewed.

Source: design/v2/follow-up-issues.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions