Skip to content

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

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.

3 participants