Skip to content

Add type="button" to prevent form submission #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Keith-Wallace
Copy link

Please Review Work done in this PR are as follows:

Error found on UHC UAT: During the Request a Visit flow, when a user selects a date from the react-datepicker when scheduling a visit on a mouse press, the form is summited with validation errors. Expected result is the day and time value is added to the input field.

To correct this issue, we added type="button" to the <button> element to prevent the parent form from submitting (a button element in a form will submit on click by default).

Story: https://teladoc.atlassian.net/browse/UNTD-405

@Keith-Wallace Keith-Wallace merged commit 1de83c0 into united_pli Dec 19, 2019
@Keith-Wallace Keith-Wallace deleted the UNTD-405_Bug_RAV_Form_Submission_Date_Selection branch December 19, 2019 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants