Skip to content

bug: number input clear button is always visible despite FX visibility condition #17550

Description

@johnsoncherian

What is the expected behaviour?

The clear button should respect the configured FX condition on the number input component. When the primary number field is connected to a value field, the clear button should only be visible when that value field is not empty.

What is the current behaviour?

The clear button is always visible on the number input component, even when the FX condition should evaluate to false and hide it.

How to reproduce the issue?

  1. Add a Number Input widget in the ToolJet app builder.
  2. Configure the primary number field to be connected to a value field.
  3. Set the clear button visibility logic so it should only appear when the value field is not empty.
  4. Observe the rendered number input component.
  5. Notice that the clear button remains visible regardless of whether the value field is empty.
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions