Skip to content

filledPinCodeContainerStyle applies when placeholder is used but value empty #114

@JamesMahy

Description

@JamesMahy

Describe the bug
When you provide a placeholder value, the "filledPinCodeContainerStyle" is always used, despite the box not being filled and only showing a place holder.

To Reproduce

  1. Add a pinCodeContainerStyle of backgroundColor: '#f3f3f3'
  2. Add a filledPinCodeContainerStyle of backgroundColor: '#fff'
  3. Add a place holder mask of ------
  4. Empty box is white not grey.

Expected behavior
I would expect filledPinCodeContainerStyle to only apply when it has a value

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Web / Mobile
  • Device OS: Windows / Android / iOS
  • Device version: Various
  • Library version: 1.8.5

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions