Resolves #466. The default behavior for the DDF Wizard is to either advance to the next step or submit the form when the ENTER is pressed. This is inappropriate for complex forms that contain many different types of elements that are typically interacted with using ENTER. For instance, the default behavior when a link is focused and ENTER is pressed is not to open the link in a browser but to advance or submit the form. This commit overrides the default behavior by passing an onKeyDown prop to the wizard which calls a custom onKeyDown function. The new custom function does not define any behavior for when ENTER is pressed, but does recreate DDF's default ESCAPE behavior, which is to close the modal. |
||
|---|---|---|
| .. | ||
| CreateImageWizard | ||
| ImagesTable | ||
| LandingPage | ||