New to Kendo UI for Angular? Start a free 30-day trial

Initial Focus

The Dialog provides an option to set the initially focused element.

By default, the primary action button is focused, after the Dialog has been opened. You can control this behavior by setting the autoFocusedElement property to a query selector string.

The following example demonstrates how to focus the first input element within the Dialog, instead of the default primary button.

View Source
Change Theme:

In this article

Not finding the help you need?