woocommerce/plugins/woocommerce-blocks/assets/js/base/components/state-input
Mike Jolley 55f0bc73a6 Fix Address Validation in the Store API and client (https://github.com/woocommerce/woocommerce-blocks/pull/3552)
* Trim input values before validation on Checkout

* Fixes required field checking at schema level

* Require country during checkout and ensure values are formatted

* Add handling for rest_invalid_param messages

* Remove prepare_address_fields - handled by schema

* Add address validation to OrderController

* Implement address validation

* Error errors from all endpoints more gracefully

* update non-true description

* required prop

* Update tests

* Fix equalityFn so updates are triggered when address changes

* Remove debounce so fields update if context changes

* Update src/StoreApi/Schemas/AbstractAddressSchema.php

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>

* Add missing wp_unslash

* Validate allowed countries should block checkout if no countries are allowed

* Type in locale variable

* Update assets/js/base/utils/errors.js

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>

* Fix validator calls

* Remove refererence

* Restore onChange order

* eslint fix

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2020-12-17 14:52:44 +00:00
..
billing-state-input.js Display selected shipping location in cart block (https://github.com/woocommerce/woocommerce-blocks/pull/1767) 2020-02-19 17:14:41 +00:00
index.js Add ShippingCalculator component (https://github.com/woocommerce/woocommerce-blocks/pull/1559) 2020-02-17 12:12:15 +01:00
shipping-state-input.js Display selected shipping location in cart block (https://github.com/woocommerce/woocommerce-blocks/pull/1767) 2020-02-19 17:14:41 +00:00
state-input.js Fix Address Validation in the Store API and client (https://github.com/woocommerce/woocommerce-blocks/pull/3552) 2020-12-17 14:52:44 +00:00
style.scss fix issue with no margins on phone input (https://github.com/woocommerce/woocommerce-blocks/pull/2989) 2020-08-11 10:00:53 +01:00