Skip to content

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

Description

@ElijahAhianyo
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions