You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancementIssues or PR related to making existing features better
1 participant
Converted from issue
This discussion was converted from issue #491 on December 15, 2023 06:58.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
현재 상황
TextField
컴포넌트는 imperativeHandles를 사용하기 때문에TextFieldRef
에 명시되어 있는 메서드만 사용할 수 있음. 따라서textFieldRef.current.value = ''
형태로 값 초기화가 어려움.문제점
textFieldRef.current.value = ''
형태로 값 초기화가 어려움.어떻게 개선할 수 있는지
제안 1 -
clear()
메서드 추가제안 2 -
setValue()
메서드 추가Reference
Beta Was this translation helpful? Give feedback.
All reactions