Not working to submit a form with rx.radix.text_field.input
that has autofocus=True
#35
Labels
bug
Something isn't working
Describe the bug
When using
autofocus
withrx.radix.text_field.input
the cursor is successfully captured when opening the site, but when submitting the message there's an error:Somehow the
question
which is passed intoopenai_process_question
is None and doesn't have any value.To Reproduce
Steps to reproduce the behavior:
Add the following line
autofocus=True
totext_field.input
:Run
reflex init; reflex run
inside the /webui folder, then type something in the input field and submit.Expected behavior
Cursor gets captured on the text input field while the rest of the behavior stays the same, i.e. I can still submit messages
Screenshots
Specifics (please complete the following information):
Additional context
Would be lovely being able to add autofocus to the input field.
The text was updated successfully, but these errors were encountered: