patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

Bug - TypeaheadSelect template - isCreatable - text input is updating strangely after creating an option

Open adamviktora opened this issue 1 year ago • 5 comments

Describe the problem TypeaheadSelect template - isCreatable - text input is updating strangely after creating an option, some state is updated late probably, there is also a large useEffect so the issue might be there.

https://github.com/user-attachments/assets/b9cc1350-599a-41bc-ba8a-a1cc0325cd8b

adamviktora avatar Oct 25 '24 15:10 adamviktora

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Dec 25 '24 11:12 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Mar 01 '25 11:03 github-actions[bot]

This is definitely still an issue, as you can see on the live example site (https://www.patternfly.org/components/menus/select/react-templates). I'm having a similar issue where modifying the initialOptions does not seem to immediately update the current value in the textbox, despite the issue being marked closed in #10789

acbart avatar Mar 10 '25 20:03 acbart

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar May 10 '25 11:05 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Oct 31 '25 11:10 github-actions[bot]