Textarea Autocomplete Feature

Is it possible to add a textarea to enter the formula based on a list of saved metrics and a dropdown below the textarea to autosuggest the metric as the user types into the textarea ignoring the operator symbols (+,-,*,/)? Also, when the user clicks on the metric then it should fill the complete saved metric in the textarea

hi
I was trying to find any solution, but there was no text autocomplete for streamlit. so I decided to write one. I hope by using custom strategy you will be able to configure it for your case
please check streamlit-textcomplete · PyPI