Skip to content

Allow for multi character placeholder #62

Open
@cupojoe

Description

@cupojoe

What are you reporting?

  • Feature request

What is the current behavior?

Currently, you are only allowed a one character placeholder, which assumes the mask is homogenous. This helps with the format of the field, but not with the semantics of the data.

What is the expected behavior?

It would be great to be able to specify a placeholder with the same format as the pattern:

{
...
  pattern: '99/99/9999',
  placeholder: 'MM/DD/YYYY',
...
}

What's your environment?

Version: 1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions