Skip to content

USelect: Why doesn't the autofocus HTML attribute work? #4324

@tgeber

Description

@tgeber

Description

Hello everyone,

I have a form with several input fields.

The first field is a USelect (variant=outline). I want to select it (focus it, with a visible border ring) so that the user can navigate to the other fields from here using the Tab key. How do I do this?
If this doesn't work using an HTML attribute, is there any way I can program it using JavaScript?

This works perfectly on another form where, for example, a UInput component is used first.

Can someone please help me?

Thanks in advance and best regards from Germany,
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions