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

Support for st.text_input #11

Open
ItsYaBoiNeil opened this issue Jan 30, 2025 · 2 comments
Open

Support for st.text_input #11

ItsYaBoiNeil opened this issue Jan 30, 2025 · 2 comments

Comments

@ItsYaBoiNeil
Copy link

Hi there
I was trying to make this work with st.text_input but it seems like this functionality of textcomplete is only working with st.text_area.
Any suggestions to make it work with st.text_input?
Thanks in advance

@aronnoordhoek
Copy link

Seems to be the same issue for chat_input, works in a toy example but in a bigger app it doesn't attach. Switched to text_area and it worked. Is it something with relying on 'area_label' in textcomplete and 'placeholder' in chat_input? At least text_area has an actual label you can set.

@ItsYaBoiNeil
Copy link
Author

ItsYaBoiNeil commented Jan 31, 2025

We have a big-ish application and chat_input works visually, but the logic, especially how it takes inputs, handles session states and process function calls makes it a chore to switch over from text_input

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