Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] [UI] How to implement "add searched item if not in the list" #254

Open
sanduluca opened this issue Mar 13, 2024 · 1 comment
Open

Comments

@sanduluca
Copy link

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).

image
It may be a plus icon or a add button or a some text near the item

@nehalprasad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants