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

rx.set_focus doesnt work with rx.chakra.pin_input #18

Open
ElijahAhianyo opened this issue Oct 19, 2023 · 0 comments
Open

rx.set_focus doesnt work with rx.chakra.pin_input #18

ElijahAhianyo opened this issue Oct 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ElijahAhianyo
Copy link
Collaborator

ElijahAhianyo commented Oct 19, 2023

def index() -> rx.Component:
    return rx.vstack(
        rx.chakra.pin_input(
            length=6,
            id="pin_input"
        ),
        rx.button("focus on pin input", on_click=rx.set_focus("pin_input1")), 
    )

Screenshot 2023-10-19 at 4 06 38 PM

@ElijahAhianyo ElijahAhianyo changed the title rx.focus_value doesnt work with rx.pin_input rx.set_focus doesnt work with rx.pin_input Oct 19, 2023
@Lendemor Lendemor added the bug Something isn't working label Oct 21, 2023
@Lendemor Lendemor changed the title rx.set_focus doesnt work with rx.pin_input rx.set_focus doesnt work with rx.chakra.pin_input Jun 25, 2024
@Lendemor Lendemor transferred this issue from reflex-dev/reflex Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants