I am trying to apply the principle of Add xyx
in MUI Autocomplete in Reactjs, using single dimension i.e [1,2,3,4,5]
, i.e. without objects, So far I have got the examples and references with objects only. Is there any way possible to achieve so, for reference I am trying to achieve this using only single array, and I want the Add <YOUR_SEARCH_TERM>
option, I have so far got only the input search term, I want to append Add
as a prefix but if I add that Add
, it also reflects in the input box as well.
0
votes