From 865e9418e444687822b286bcb602d0fd7a33409a Mon Sep 17 00:00:00 2001 From: Eason Su Date: Thu, 20 Jul 2023 18:02:49 +0800 Subject: [PATCH] Add the rendering of validation errors to `TaxRate` --- .../free-listings/configure-product-listings/tax-rate.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/src/components/free-listings/configure-product-listings/tax-rate.js b/js/src/components/free-listings/configure-product-listings/tax-rate.js index 5d1af821ae..ea20bed059 100644 --- a/js/src/components/free-listings/configure-product-listings/tax-rate.js +++ b/js/src/components/free-listings/configure-product-listings/tax-rate.js @@ -20,7 +20,10 @@ import VerticalGapLayout from '.~/components/vertical-gap-layout'; */ const TaxRate = () => { - const { getInputProps } = useAdaptiveFormContext(); + const { + getInputProps, + adapter: { renderRequestedValidation }, + } = useAdaptiveFormContext(); return (
{ + { renderRequestedValidation( 'tax_rate' ) }