Skip to content

[BACKLOG-36846] Setting Focus on Textbox#5214

Open
jyotir1245 wants to merge 1 commit intopentaho:wcagfrom
jyotir1245:wcag
Open

[BACKLOG-36846] Setting Focus on Textbox#5214
jyotir1245 wants to merge 1 commit intopentaho:wcagfrom
jyotir1245:wcag

Conversation

@jyotir1245
Copy link
Copy Markdown

please review,  @pentaho/wcag

[BACKLOG-36846] Setting Focus on Textbox
@buildguy
Copy link
Copy Markdown
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
Copy Markdown

@dcleao
Copy link
Copy Markdown
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
Copy Markdown
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