Skip to content

Extra character added if you start typing from start of the input while input is fully filled #712

@PrimulaX

Description

@PrimulaX

Describe the issue and the actual behavior

If formatted input is fully filled and you jump to the start of the string and type something you will get the extra character in your value

Describe the expected behavior

value length shouldn’t change

Provide a CodeSandbox link illustrating the issue

https://codesandbox.io/s/format-demo-forked-urih6q

Provide steps to reproduce this issue

  1. Enter every character for the pattern
  2. Add any number at the start of the value in the input
  3. Your pattern will be exceeded with one character

Please check the browsers where the issue is seen

  • Chrome
  • Chrome (Android)
  • Safari (OSX)
  • Safari (iOS)
  • Firefox
  • Firefox (Android)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions