-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
UI: Auto-focus input, form #4762
UI: Auto-focus input, form #4762
Conversation
@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. [S] |
1 similar comment
@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. [S] |
UI build: ✔️ |
UI build: ✔️ |
@utchoang do you want this PR merged, as I see other PRs related to UI (asking if this one has additional changes or the other UI related PRs already address issues)? |
@rhtyd It can be merged if approved. Currently, I have separated PR so it is not relevant anymore. |
@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
@@ -770,6 +778,16 @@ export default { | |||
this.fillEditFormFieldValues() | |||
} | |||
}, | |||
getFirstIndexFocus () { |
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.
Nice catch!
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.
@davidjumani What's wrong with this?
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.
It's a good fix!
@utchoang Could you also add the autofocus to EditVM and ScaleVM |
@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
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.
Tested LGTM!
Description
This PR for fix bug "when opening a dialog, the first element should be active (with the cursor ready for typing). This avoids extra clicks."
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?