-
Notifications
You must be signed in to change notification settings - Fork 6k
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
mgr/dashboard: Add 'autofocus' directive #21559
Conversation
cb5fafe
to
48e6807
Compare
retest this please. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SharedModule
should export AutofocusDirective
@@ -23,7 +24,8 @@ import { ServicesModule } from './services/services.module'; | |||
], | |||
declarations: [ | |||
PasswordButtonDirective, | |||
DimlessBinaryDirective | |||
DimlessBinaryDirective, | |||
AutofocusDirective | |||
], | |||
exports: [ | |||
ComponentsModule, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AutofocusDirective
should also be added to the exports
to guarantee that it can be used by other modules.
Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This directive makes sure that input fields are focused automatically.
Signed-off-by: Volker Theile vtheile@suse.com