Skip to content

Conversation

shubhamdeol
Copy link

@shubhamdeol shubhamdeol commented Jan 13, 2025

…without typing

Motivation

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

This can also happen in cases where pastes the content into input without typing it.

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
@lukewalczak lukewalczak force-pushed the main branch 6 times, most recently from 1062366 to 1da5d15 Compare May 8, 2025 09:47
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