Skip to content

"Snap" value to next step. #35

@erikmoren

Description

@erikmoren

Hi, thanks for a great component :-)

I have a question: Is it possible to make the value "snap" to the next step when stepping up/down?

For example: I have a input with step: 0.25, precision: 2 and a value of 1.18.
Pressing the up button makes the value of course go to 1.43. Just wondering if it is possible for the value to "snap" to 1.25 instead..?

Sincerely,
Erik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions