arunghosh / arunghosh/react-pin-input

Unable to manipulate CSS/styling for the placeholder

Open
#214 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
112
Forks
45
PR merge metrics
No merged PRs in 30d

Description

The placeholder is created in a shadow DOM right now and there's no way to modify the styling.

Please at least add "part" attributes on the elements within the shadow DOM to allow developers to customize the stylings.

Or, another alternative is to add another props like "placeholderStyle".

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating how the placeholder is created in the component's shadow DOM and inspect the current public props. Compare the requested part attributes and placeholderStyle alternatives, then verify that developers can customize the placeholder styling through the chosen API.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.