react-component / react-component/picker

Input Should be editable from Components Javascript/Typescript as inputClassName

Open
#468 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
304
Forks
345
Avg merge
2d 7h
Merged PRs (30d)
7

Description

The component would be much easier to work with if it included an inputClassName in the same way it includes a popupClassName & dropdownClassName. An example of something that can't currently be done dynamically from Javscript/Typescript is changing the placeholder color dynamically. At the moment I must do this from within CSS and can't do it Dynamically based on some state change

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the picker component API where popupClassName and dropdownClassName are exposed, then inspect how consumers pass those props from JavaScript or TypeScript. The work is done when an analogous inputClassName prop allows the input, including its placeholder styling, to be changed dynamically from component state.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.