Skip to content
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

fix(order-form.js): submit form issue #15

Closed
wants to merge 1 commit into from

Conversation

rpheredia
Copy link

Changes

Fix incorrect event property reference from "event.value" to "event.target.value" in order-form.js, and assign to the react parameters, orderItem and quantity,

Purpose

Order form submit doesn't work.

Approach

Values are now being assigned from the form to the react parameters, thereby successfully submitting and adding to order list.

Pre-Testing TODOs

  • [] No pre-requisite for testing.

Testing Steps

Open the application and enter a new order, then submit. Order should be seen in View Orders page.

Learning

Fixes #1

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.

Intentional Bug: Order form submit doesn't work
1 participant