Skip to content

Feature: configuration option to set focus when dialog opens #70

@kagemusha

Description

@kagemusha

for modals with input fields, seems natural to set focus to the first one when it opens. I propose a configuration option such as:

{{#modal-dialog
    ...
    focusSelector='#some-input-field'
}}

If you think this useful, I can submit a PR

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions