Skip to content

[Enhancement] Make 'Show unvalidated models' label clickable to toggle switch #679

@DayuanJiang

Description

@DayuanJiang

Current Behavior

In the AI Model Configuration dialog, the "Show unvalidated models" label next to the switch is not clickable. Users must click precisely on the small switch toggle to change the setting.

The label has cursor-pointer styling which suggests clickability, but clicking it does nothing.

Location: components/model-config-dialog.tsx (footer section, around line 1663)

Proposed Enhancement

Clicking the label text should toggle the switch, following standard form accessibility patterns.

Motivation

  • Standard UX convention - labels for form controls should be clickable
  • Better accessibility - larger click target
  • The cursor-pointer style already suggests this behavior to users

Screenshots / Mockups

Image

Additional Context

The Label and Switch are not associated - missing id/htmlFor attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions