Skip to content

[numberfield] onEdgeReached prop #3730

@michaelhazan

Description

@michaelhazan

Feature request

Summary

have a onEdgeReached prop on NumberField.Root when reaching the provided min / max and attempting to go below / above it.

Examples in other libraries

unsure if this is a thing in other libraries

Motivation

In my use case i simply wish to trigger a certain action when reaching the minimum / maximum of the component, for example clearing it, or changing another form value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: number fieldChanges related to the number field component.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions