themesberg / themesberg/flowbite-react
TextInput icon onClick
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
There is no straight way to handle TextInput's icon onClick event...example is clicking the Eye icon to unmask password input
Describe the solution you'd like
A straight forward way of doing this, probably a prop called iconClick
Describe alternatives you've considered
Nothing yet
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TextInput component and examining how its icon is rendered and how input events are exposed. Check existing component usage and documentation for the expected API; done when consumers can provide an icon-click callback suitable for actions such as revealing a password.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, tailwindcss, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100