Open sanduluca opened 3 months ago
Consider creating an component and use this dropdown to show the list. You can add a condition if the item is not in the list then push the the searchedText inside that, it will be local and will be deleted once the screen is refreshed. Consider using database so that you data will be added inside that @sanduluca
How to implement "add searched item if not in the list".
Here is an exemple from Jira software. They for example have a lable filed and if you start writing/searching for a label that is not in the list, you can press on it and its added to the list (api request to add + new get request for new list of labels).