Update Text in chat_input - current situation?

I want to change chat_input text with Python. Is that now possible? thanks

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.

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.

I recommend putting in a feature request through GitHub and explaining your use case to help the devs prioritize additions and changes.

Thanks.

There is already an issue