55f0bc73a6
* 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> |
||
---|---|---|
.. | ||
Formatters | ||
Routes | ||
Utilities |