Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: issue when uncontrolled input value is set programmatically i.e … #4600

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shubhamdeol
Copy link

…without typing

Motivation

We have a use case which I feel is very common. We have remark suggestions for an entry. Once suggestion is picked and value is set using setNativeProps method uncontrolledValue is not updated this is resulting input label and palceholder to get overlapped.

Related issue

Screenshots

  • Before

Screenshot_20250113-170518

  • After
    Screenshot_20250113-170721

Test plan

  • I don't this any major testing is required. I have kept the changes to minimum. It should not effect the other functionality.

…without typing

We have a use case which I feel is very common. We have remark suggestions for an entry. Once suggestion is picked and value is set using setNativeProps method uncontrolledValue is not updated this is resulting input label and palceholder to get overlapped.
@callstack-bot
Copy link

callstack-bot commented Jan 13, 2025

Hey @shubhamdeol, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@shubhamdeol shubhamdeol changed the title fix: issue when uncontrolled input value is get programmatically i.e … fix: issue when uncontrolled input value is set programmatically i.e … Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants