reactioncommerce / reaction-component-library

Example Storefront Component Library: A set of React components for the Example Storefront
Apache License 2.0
96 stars 57 forks source link

PhoneNumberInput not returning value to form #193

Closed nnnnat closed 6 years ago

nnnnat commented 6 years ago

Type: major

Describe the bug When submitting the AddressForm the phone field will always throw an "is required" error regardless if the field has a value or not. After digging around it looks like the component is getting and storing the value in the state but it never gets passed up to the Form like the TextInput and Select do.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://stoic-hodgkin-c0179e.netlify.com/#!/AddressForm scroll to the bottom and fill out the form in the "Implementation Example" section.
  2. Click on submit and see the validation error thrown on the phone field.

Expected behavior PhoneNumberInput should pass it's value back to the form on change/submit

Screenshots screen shot 2018-08-07 at 8 53 58 am

rc-publisher commented 6 years ago

:tada: This issue has been resolved in version 0.14.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: