Skip to content

Trim whitespace before paste in digit code input #23

Closed
@JStein2311

Description

@JStein2311

Currently, if somebody copied a code and has accidental whitespace, nothing will be copied when the input is a digit-only input.

I would suggest that on paste, depending if the input is digit-only, whitespace in front and after will be trimmed.

Example:
Clipboard value is " 123 ", before trying to paste the text into the input field trim the data to be "123" and then try, if it is allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions