Skip to content

[Feat]: Allow Number Input Component to Take "" (Blank) as Default Value Instead 0Β #1991

@umutyorulmaz

Description

@umutyorulmaz

Is your feature request related to a problem? Please describe.
I would like number input component to be able to display blank ("") as default value instead of/ as well as 0. I think it creates friction for the end user, for them to input a number, they have to delete the default value which is 0 to type their desired input.

Describe the solution you'd like
Similar to text input the default value of the number input component should be empty string/ blank field. Having 0 as a default value can be valuable to some, so ideal solution might need to allow both of the default values e.g; 0 as now and as extra empty string/blank. A toggle button can be added to number input component's settings to allow it to take it empty string as default.

Describe alternatives you've considered
As a work around I have used text input and added a validation using regex and the component's custom rule field.

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    ComponentsDedicated to Frontend Visual ComponentsJavascript FrontendPull requests that update Javascript code

    Projects

    Status

    πŸ“‹ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions