Skip to content

Generic Filter: "Clear values" button fails to clear invalid input after the first attempt #5696

Description

@PBeliaevHaulmont

Environment

Jmix version: 3.0.2

Bug Description

On the Generic Filter sample page, when a non‑numeric value (letters) is entered into the Age field and the filter value is cleared using the gear icon, the field is cleared correctly the first time. However, if the same non‑numeric input is entered again and the clear action is performed, the Age field retains the letters and is not cleared.

Steps To Reproduce

  • Open https://demo.jmix.io/ui-samples/sample/generic-filter-multiple-conditions
  • Enter letters (e.g., abc) into the Age field
  • Click the gear icon and select “Clear values”
    • Result: All filter fields are cleared, including the letters in the Age field
  • Repeat: enter letters into the Age field again
  • Click the gear icon and select “Clear values” again
    • Result: The Age field is not cleared

Current Behavior

After the first clear, subsequent attempts to clear the Age field fail when it contains non‑numeric characters. The field is left with the invalid input.

Expected Behavior

The “Clear values” action should consistently clear the Age field, regardless of whether it contains valid or invalid input, on every attempt.

Activity

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

Metadata

Metadata

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions