Skip to content

Validation support #130

Description

@dmatora

On regular input onChange I can do

		if (isNaN(value) || value < 0) {
			return;
		}

and it will not allow typing in letters or negative value
but on DebounceInput it will allow typing anything (while still preventing getting letters or negative into controlled var value) which basically breaks component

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions