I want to change chat_input text with Python. Is that now possible? thanks
1 Like
If you want to programmatically set the value of the widget, that isn’t possible. Like st.button, you can’t set the value of st.chat_input through Session State.
If you want to modify the placeholder text in the widget, that’s the first parameter of the command.
1 Like
Will that be possible in the future? It would be a necessary feature.
I tried text_input, but the position is always before the chat not after it like with
Chat_input.
1 Like
I recommend putting in a feature request through GitHub and explaining your use case to help the devs prioritize additions and changes.
1 Like
Thanks.
There is already an issue
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.