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?
- Add a Number Input widget in the ToolJet app builder.
- Configure the primary number field to be connected to a value field.
- Set the clear button visibility logic so it should only appear when the value field is not empty.
- Observe the rendered number input component.
- Notice that the clear button remains visible regardless of whether the value field is empty.

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?