Skip to content

NumberInput never be touched #7980

Closed

Description

What you were expecting:
fieldState.isTouched of NumberInput should be set touched if field has received a focus and blur event.

What happened instead:
fieldState.isTouched always keep false, event touch it.

Steps to reproduce:

just touch NumberInput field and observe its state

Related code:

https://codesandbox.io/embed/cranky-yonath-zh60ob?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fposts.js&theme=dark&view=editor

Other information:

Environment

  • React-admin version: 4.x
  • React version: 17
  • Browser: Edge 102.0.1245.33

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions