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
I don't want the AutoComplete field to persist the text value from whatever was selected. I display Chips after the user has selected something using the AutoComplete component. After a value is selected, I want the AutoComplete value to be cleared.
I was setting the value to an empty string in onNewRequest but then this is overridden by chosenRequestText.
I propose that we add a getChosenRequestText function that can be passed as a property, the default value can be the current chosenRequestText function. This keeps the existing functionality as well as allows someone like me to pass in a function that always returns an empty string.
The text was updated successfully, but these errors were encountered:
Description
Somewhat related to:
#4241
#2615
I don't want the
AutoComplete
field to persist the text value from whatever was selected. I displayChip
s after the user has selected something using theAutoComplete
component. After a value is selected, I want theAutoComplete
value to be cleared.I was setting the value to an empty string in
onNewRequest
but then this is overridden bychosenRequestText
.I propose that we add a
getChosenRequestText
function that can be passed as a property, the default value can be the currentchosenRequestText
function. This keeps the existing functionality as well as allows someone like me to pass in a function that always returns an empty string.The text was updated successfully, but these errors were encountered: