Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Comments

a11y: use formError state in "New Dialog" form#2369

Merged
a-b-r-o-w-n merged 4 commits intomasterfrom
beyackle/dialogError2
Mar 26, 2020
Merged

a11y: use formError state in "New Dialog" form#2369
a-b-r-o-w-n merged 4 commits intomasterfrom
beyackle/dialogError2

Conversation

@beyackle
Copy link
Contributor

Description

We already have form errors in our state, so we should be able to just clean up our validation code and use existing methods to make them happen every form change and not just on submit.

Task Item

Closes #2060
Closes #2074

@beyackle beyackle changed the base branch from stable to master March 25, 2020 22:36
@beyackle beyackle changed the title Beyackle/dialog error2 a11y: use formError state in "New Dialog" form Mar 25, 2020
@beyackle beyackle marked this pull request as ready for review March 25, 2020 22:50
@github-actions
Copy link

Coverage Status

Coverage remained the same at 39.577% when pulling 100e1ed on beyackle/dialogError2 into 3069142 on master.

Copy link
Contributor

@a-b-r-o-w-n a-b-r-o-w-n left a comment

Choose a reason for hiding this comment

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

One thing that #2338 does which is nice is automatically focus the name field. Can you add that here and then we can merge?

@a-b-r-o-w-n a-b-r-o-w-n merged commit 8b4eb57 into master Mar 26, 2020
@a-b-r-o-w-n a-b-r-o-w-n deleted the beyackle/dialogError2 branch March 26, 2020 00:45
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* Update createDialogModal.tsx

* Update createDialogModal.tsx

* fix typos, add autoFocus
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants