Skip to content

Color Picker still accepts a color after its input becomes disabled #4415

Open

Description

@Xapollon430

Describe the bug

The color picker can change its value after its attached input becomes disabled.

Reproduction

  1. Create a color picker with app.colorPicker.create({ inputEl: '#color', openIn: 'popover', modules: ['palette'], palette: ['#ff0000', '#0000ff'], value: { hex: '#ff0000' } }).
  2. Click the input to open the color picker, then set document.querySelector('#color').disabled = true.
  3. Click the blue swatch in the still-open popup.

The disabled input changes from red to blue and emits change. It should keep red after disable.

Reproduced in Chrome on macOS against Framework7 9.3.0 at 9bf9748. Reproduction video

Activity

  1. t0ggles commented on Nov 12, 2026

    @t0ggles

    Task F7-97 was created

    t0ggles task F7-97

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

    t0gglesLinked to the t0ggles task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions