Skip to content

[Feature]: Add "starting value" prop to Number Field for increment/decrement value #2627

Open

Description

@rikzwarthoff

Describe the feature

Currently if there is no value given, Increment starts at the min value if given or at zero. Decrement is is disabled.
That doesn't always make sense in terms of context of the number. I would like to have a prop where I can define the starting value of increment/decrement when the value is not yet defined.

Example: say a trading platform ask you to enter a price. The current price of the stock is worth 600, would make sense for it to start at the current price, not 0 or the min value.

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions