Skip to content
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

[BACKLOG-36846] Setting Focus on Textbox #5214

Open
wants to merge 1 commit into
base: wcag
Choose a base branch
from

Conversation

jyotir1245
Copy link

please review,  @pentaho/wcag

[BACKLOG-36846] Setting Focus on Textbox
@buildguy
Copy link
Collaborator

buildguy commented Feb 6, 2023

✅ Build finished in 10m 39s

Build command:

mvn clean verify -B -e -Daudit -amd -pl user-console

👌 All tests passed!

Tests run: 12, Failures: 0, Skipped: 0    Test Results


ℹ️ This is an automatic message

@hitachivantarasonarqube
Copy link

@dcleao
Copy link
Contributor

dcleao commented Feb 6, 2023

Follows from: #5210

@@ -235,6 +235,7 @@ public void cancelPressed() {
AbstractWizardDialog.ScheduleDialogType.SCHEDULER );
editSchedule.setShowSuccessDialog( false );
editSchedule.addCustomPanel( scheduleLabelPanel, DockPanel.NORTH );
editSchedule.setFocusWidget( scheduleTextBox );
Copy link
Contributor

@dcleao dcleao Feb 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like previously said in #5210 (comment), I believe that you should not need to call setFocusWidget( . ).

Is it not the first "tababble" element of the dialog?

If the code which sets the default focus is failing, we should fix that instead. See https://github.com/pentaho/pentaho-commons-gwt-modules/blob/wcag/widgets/src/main/java/org/pentaho/gwt/widgets/client/dialogs/DialogBox.java#L204.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants