Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

bbFileDrop should stopPropagation on enter keypress #156

Closed
Blackbaud-DanMiller opened this issue Dec 15, 2015 · 2 comments
Closed

bbFileDrop should stopPropagation on enter keypress #156

Blackbaud-DanMiller opened this issue Dec 15, 2015 · 2 comments

Comments

@Blackbaud-DanMiller
Copy link
Contributor

Behavior can be seen on the Add Attachments form in RENXT CDEV: https://cdev.renxt.blackbaudhosting.com/constituents/25512?tenantid=45640281-b5c6-4fba-87a8-2ab88335b0d2

Open the form, type a valid link into the "Paste a link to a file" input box, and press enter. Notice the form immediately saves before the user has a chance to do anything else in the form. This could possibly be avoided by ensuring that the submit button on the form is type="button" instead of type="submit", but since all forms use the bb-modal-footer-button-primary directive to render the submit button, consumers of SKY UX cannot specify the button type when this pattern is used.

@Blackbaud-PatrickOFriel
Copy link
Contributor

Can you make a plunker that reproduces this problem?

@Blackbaud-PatrickOFriel
Copy link
Contributor

In v1.4.8

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

No branches or pull requests

2 participants